OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 | 2 |
3 <html> | 3 <html> |
4 <head> | 4 <head> |
5 <style type="text/css" media="screen"> | 5 <style type="text/css" media="screen"> |
6 body { | 6 body { |
7 position: relative; | 7 position: relative; |
8 } | 8 } |
9 .container { | 9 .container { |
10 position: relative; | 10 position: relative; |
11 width: 200px; | 11 width: 200px; |
12 height: 100px; | 12 height: 100px; |
13 padding: 20px; | 13 padding: 20px; |
14 z-index: 0; | 14 z-index: 0; |
15 border: 1px solid black; | 15 border: 1px solid black; |
16 -webkit-transform: translate(100px, 0); | 16 transform: translate(100px, 0); |
17 } | 17 } |
18 | 18 |
19 .compositing { | 19 .compositing { |
20 position: absolute; | 20 position: absolute; |
21 top: 21px; | 21 top: 21px; |
22 left: 121px; | 22 left: 121px; |
23 width: 100px; | 23 width: 100px; |
24 height: 100px; | 24 height: 100px; |
25 -webkit-transform: translateZ(0); | 25 transform: translateZ(0); |
26 } | 26 } |
27 | 27 |
28 .far-left { | 28 .far-left { |
29 position: relative; | 29 position: relative; |
30 left: -1000px; | 30 left: -1000px; |
31 width: 1200px; | 31 width: 1200px; |
32 height: 100px; | 32 height: 100px; |
33 background-color: green; | 33 background-color: green; |
34 } | 34 } |
35 | 35 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 <div class="container"> | 72 <div class="container"> |
73 <div class="far-left"> | 73 <div class="far-left"> |
74 Text here | 74 Text here |
75 </div> | 75 </div> |
76 </div> | 76 </div> |
77 | 77 |
78 <pre id="layers">Layer tree goes here in DRT</pre> | 78 <pre id="layers">Layer tree goes here in DRT</pre> |
79 </body> | 79 </body> |
80 </html> | 80 </html> |
81 | 81 |
OLD | NEW |