| 1 |
<!-- |
| 2 |
Copyright 2017 The Closure Library Authors. All Rights Reserved. |
| 3 |
|
| 4 |
Use of this source code is governed by the Apache License, Version 2.0. |
| 5 |
See the COPYING file for details. |
| 6 |
--> |
| 7 |
<style> |
| 8 |
#vContainerDiv { |
| 9 |
position: absolute; |
| 10 |
top: 20px; |
| 11 |
overflow-y: scroll; |
| 12 |
width: 100px; |
| 13 |
height: 100px; |
| 14 |
visibility: hidden; |
| 15 |
} |
| 16 |
|
| 17 |
#vContentDiv { |
| 18 |
height: 200px; |
| 19 |
} |
| 20 |
|
| 21 |
#hContainerDiv { |
| 22 |
position: absolute; |
| 23 |
top: 20px; |
| 24 |
left: 200px; |
| 25 |
overflow-x: scroll; |
| 26 |
width: 100px; |
| 27 |
height: 100px; |
| 28 |
visibility: hidden; |
| 29 |
} |
| 30 |
|
| 31 |
#hContentDiv { |
| 32 |
width: 200px; |
| 33 |
} |
| 34 |
</style> |
| 35 |
<div id="vContainerDiv"> |
| 36 |
<div id="vContentDiv"> |
| 37 |
Sample text |
| 38 |
</div> |
| 39 |
</div> |
| 40 |
<div id="hContainerDiv"> |
| 41 |
<div id="hContentDiv"> |
| 42 |
Sample text |
| 43 |
</div> |
| 44 |
</div> |