OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <style type="text/css"> | |
5 .box { | |
6 width: 10px; | |
7 height: 10px; | |
8 } | |
9 .scrollable { | |
10 overflow: scroll; | |
11 } | |
12 .out-of-flow { | |
13 position: absolute; | |
14 } | |
15 .big { | |
16 margin: 200px; | |
17 } | |
18 </style> | |
19 </head> | |
20 | |
21 <body> | |
22 <div class="scrollable box"> | |
23 <span class="big">Scrolling content</span> | |
24 <div class="out-of-flow box">Out-of-flow content.</div> | |
25 </div> | |
26 </body> | |
27 </html> | |
OLD | NEW |