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 height: 200px; | 7 height: 200px; |
8 width: 200px; | 8 width: 200px; |
9 margin: 10px; | 9 margin: 10px; |
10 border: 1px solid black; | 10 border: 1px solid black; |
11 -webkit-perspective: 500px; | 11 -webkit-perspective: 500px; |
12 } | 12 } |
13 | 13 |
14 .container:hover { | 14 .container:hover { |
15 -webkit-transform: translateX(0); | 15 transform: translateX(0); |
16 } | 16 } |
17 | 17 |
18 .box { | 18 .box { |
19 width: 100px; | 19 width: 100px; |
20 height: 100px; | 20 height: 100px; |
21 margin: 50px; | 21 margin: 50px; |
22 background-color: blue; | 22 background-color: blue; |
23 opacity: 0.5; | 23 opacity: 0.5; |
24 } | 24 } |
25 </style> | 25 </style> |
(...skipping 18 matching lines...) Expand all Loading... |
44 window.addEventListener('load', doTest, false); | 44 window.addEventListener('load', doTest, false); |
45 </script> | 45 </script> |
46 </head> | 46 </head> |
47 <body> | 47 <body> |
48 <p>This test should not assert in debug builds.</p> | 48 <p>This test should not assert in debug builds.</p> |
49 <div class="container"> | 49 <div class="container"> |
50 <div class="box"></div> | 50 <div class="box"></div> |
51 </div> | 51 </div> |
52 </body> | 52 </body> |
53 </html> | 53 </html> |
OLD | NEW |