| 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 |
body, html { |
| 9 |
height: 100%; |
| 10 |
margin: 0; |
| 11 |
padding: 0; |
| 12 |
position: absolute; |
| 13 |
white-space: nowrap; |
| 14 |
width: 800px; |
| 15 |
} |
| 16 |
|
| 17 |
#testEl1 { |
| 18 |
background: lightblue; |
| 19 |
height: 110%; |
| 20 |
margin-top: 200px; |
| 21 |
} |
| 22 |
|
| 23 |
#testEl2 { |
| 24 |
background: lightblue; |
| 25 |
display: inline-block; |
| 26 |
margin-left: 300px; |
| 27 |
width: 5000px; |
| 28 |
} |
| 29 |
|
| 30 |
#testEl3 { |
| 31 |
background: lightgrey; |
| 32 |
height: 50px; |
| 33 |
} |
| 34 |
#space { |
| 35 |
height: 100%; |
| 36 |
} |
| 37 |
</style> |
| 38 |
<div id="testEl1"> |
| 39 |
Test Element1 |
| 40 |
</div> |
| 41 |
<div id="testEl2"> |
| 42 |
Test Element2 |
| 43 |
</div> |
| 44 |
<div id="testEl3"> |
| 45 |
Test Element3 |
| 46 |
</div> |
| 47 |
<div id="space"> |
| 48 |
</div> |