OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 | 2 |
3 <html> | 3 <html> |
4 <head> | 4 <head> |
5 <style> | 5 <style> |
6 .container { | 6 .container { |
7 position: relative; | 7 position: relative; |
8 } | 8 } |
9 .box { | 9 .box { |
10 position: absolute; | 10 position: absolute; |
11 height: 150px; | 11 height: 150px; |
12 width: 100px; | 12 width: 100px; |
13 background-color: gray; | 13 background-color: gray; |
14 } | 14 } |
15 .green { | 15 .green { |
16 height: 100px; | 16 height: 100px; |
17 background-color: green; | 17 background-color: green; |
18 } | 18 } |
19 .composited { | 19 .composited { |
20 -webkit-transform: translateZ(-1px); | 20 transform: translateZ(-1px); |
21 } | 21 } |
22 .rotated-3d { | 22 .rotated-3d { |
23 -webkit-transform: translateZ(-1px) rotate(45deg); | 23 transform: translateZ(-1px) rotate(45deg); |
24 } | 24 } |
25 .top { | 25 .top { |
26 top: 0px; | 26 top: 0px; |
27 } | 27 } |
28 .bottom { | 28 .bottom { |
29 top: 150px; | 29 top: 150px; |
30 } | 30 } |
31 .left { | 31 .left { |
32 left: 0px; | 32 left: 0px; |
33 } | 33 } |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 <div class="container"> | 80 <div class="container"> |
81 <div id="green-box" class="box green center composited"></div> | 81 <div id="green-box" class="box green center composited"></div> |
82 <div class="box top left"></div> | 82 <div class="box top left"></div> |
83 <div class="box top right"></div> | 83 <div class="box top right"></div> |
84 <div class="box bottom left"></div> | 84 <div class="box bottom left"></div> |
85 <div class="box bottom right"></div> | 85 <div class="box bottom right"></div> |
86 </div> | 86 </div> |
87 <pre id="layers">Layer tree goes here in DRT</pre> | 87 <pre id="layers">Layer tree goes here in DRT</pre> |
88 </body> | 88 </body> |
89 </html> | 89 </html> |
OLD | NEW |