5 .container { margin-top:
1em; background:yellow; width:
100px; }
6 .content { width:
100px; height:
60px; }
7 .scroll-in { overflow:scroll; }
8 .scroll { overflow-x:scroll; width:
200px; }
10 body { margin:
0; position:absolute; clip: rect(
0 100px auto
0); }
15 <div class=
"container">
16 <div class=
"content"></div>
18 <div class=
"container scroll">
19 <div class=
"content"></div>
21 <div class=
"container scroll-in over">
22 <div class=
"content"></div>
24 <div class=
"container scroll over">
25 <div class=
"content"></div>
28 <div class=
"container">
29 <div class=
"content"></div>
31 <div class=
"container scroll">
32 <div class=
"content"></div>
34 <div class=
"container scroll-in over">
35 <div class=
"content"></div>
37 <div class=
"container scroll over">
38 <div class=
"content"></div>