OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 .set { | 5 .set { |
6 position: absolute; | 6 position: absolute; |
7 top: 8px; | 7 top: 8px; |
8 } | 8 } |
9 .box { | 9 .box { |
10 height: 100px; | 10 height: 100px; |
(...skipping 12 matching lines...) Expand all Loading... |
23 .visible { | 23 .visible { |
24 visibility: visible; | 24 visibility: visible; |
25 } | 25 } |
26 .should-be-hidden { | 26 .should-be-hidden { |
27 background-color: red !important; | 27 background-color: red !important; |
28 } | 28 } |
29 .should-be-visible { | 29 .should-be-visible { |
30 background-color: green !important; | 30 background-color: green !important; |
31 } | 31 } |
32 .composited { | 32 .composited { |
33 -webkit-transform: translateZ(1px); | 33 transform: translateZ(1px); |
34 } | 34 } |
35 | 35 |
36 .visible-indicator { | 36 .visible-indicator { |
37 background-color: green; | 37 background-color: green; |
38 } | 38 } |
39 | 39 |
40 .hidden-indicator { | 40 .hidden-indicator { |
41 background-color: red; | 41 background-color: red; |
42 } | 42 } |
43 </style> | 43 </style> |
(...skipping 27 matching lines...) Expand all Loading... |
71 <div class="hidden container composited"> | 71 <div class="hidden container composited"> |
72 <div class="box should-be-hidden"></div> | 72 <div class="box should-be-hidden"></div> |
73 </div> | 73 </div> |
74 | 74 |
75 <div class="hidden container composited"> | 75 <div class="hidden container composited"> |
76 <div id="target" class="box should-be-visible"></div> | 76 <div id="target" class="box should-be-visible"></div> |
77 </div> | 77 </div> |
78 </div> | 78 </div> |
79 </body> | 79 </body> |
80 </html> | 80 </html> |
OLD | NEW |