| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <meta charset="UTF-8"> | 2 <meta charset="UTF-8"> |
| 3 <style> | 3 <style> |
| 4 .target { | 4 .target { |
| 5 display: inline-block; | 5 display: inline-block; |
| 6 margin-top: 50px; | 6 margin-top: 50px; |
| 7 margin-bottom: 25px; | 7 margin-bottom: 25px; |
| 8 } | 8 } |
| 9 .transformed { | 9 .transformed { |
| 10 width: 50px; | 10 width: 50px; |
| 11 height: 50px; | 11 height: 50px; |
| 12 background: black; | 12 background: black; |
| 13 -webkit-transform: rotateY(45deg); | |
| 14 transform: rotateY(45deg); | 13 transform: rotateY(45deg); |
| 15 } | 14 } |
| 16 .replica .transformed { | 15 .replica .transformed { |
| 17 background: green; | 16 background: green; |
| 18 } | 17 } |
| 19 .replica { | 18 .replica { |
| 20 position: relative; | 19 position: relative; |
| 21 left: -50px; | 20 left: -50px; |
| 22 opacity: 0.75; | 21 opacity: 0.75; |
| 23 } | 22 } |
| (...skipping 13 matching lines...) Expand all Loading... |
| 37 {at: -1, is: 'none'}, // perspective does not accept 0 or negative values | 36 {at: -1, is: 'none'}, // perspective does not accept 0 or negative values |
| 38 {at: -0.3, is: '35px'}, | 37 {at: -0.3, is: '35px'}, |
| 39 {at: 0, is: '50px'}, | 38 {at: 0, is: '50px'}, |
| 40 {at: 0.3, is: '65px'}, | 39 {at: 0.3, is: '65px'}, |
| 41 {at: 0.6, is: '80px'}, | 40 {at: 0.6, is: '80px'}, |
| 42 {at: 1, is: '100px'}, | 41 {at: 1, is: '100px'}, |
| 43 {at: 1.5, is: '125px'} | 42 {at: 1.5, is: '125px'} |
| 44 ]); | 43 ]); |
| 45 </script> | 44 </script> |
| 46 </body> | 45 </body> |
| OLD | NEW |