OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style type="text/css"> | 4 <style type="text/css"> |
5 #overlay { | 5 #overlay { |
6 position: absolute; | 6 position: absolute; |
7 left: 10px; | 7 left: 10px; |
8 top: 10px; | 8 top: 10px; |
9 width: 400px; | 9 width: 400px; |
10 height: 100px; | 10 height: 100px; |
11 z-index: 1; | 11 z-index: 1; |
12 background-color: rgba(0, 0, 0, 0.5); | 12 background-color: rgba(0, 0, 0, 0.5); |
13 } | 13 } |
14 | 14 |
15 #container { | 15 #container { |
16 position: absolute; | 16 position: absolute; |
17 left: 200px; | 17 left: 200px; |
18 top: 8px; | 18 top: 8px; |
19 width: 200px; | 19 width: 200px; |
20 z-index: 2; | 20 z-index: 2; |
21 border: 2px solid blue; | 21 border: 2px solid blue; |
22 } | 22 } |
23 | 23 |
24 #composited { | 24 #composited { |
25 -webkit-transform: translateZ(0); | 25 transform: translateZ(0); |
26 width: 20px; | 26 width: 20px; |
27 height: 20px; | 27 height: 20px; |
28 } | 28 } |
29 | 29 |
30 #scroller { | 30 #scroller { |
31 height: 200px; | 31 height: 200px; |
32 background-color: yellow; | 32 background-color: yellow; |
33 overflow-y: scroll; | 33 overflow-y: scroll; |
34 } | 34 } |
35 | 35 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 <div id="overlay"></div> | 67 <div id="overlay"></div> |
68 | 68 |
69 <div id="container"> | 69 <div id="container"> |
70 <div id="scroller"> | 70 <div id="scroller"> |
71 <div>scroll me</div> | 71 <div>scroll me</div> |
72 </div> | 72 </div> |
73 </div> | 73 </div> |
74 <pre id="results"></pre> | 74 <pre id="results"></pre> |
75 </body> | 75 </body> |
76 </html> | 76 </html> |
OLD | NEW |