| 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 -webkit-perspective: 50; | 6 -webkit-perspective: 50; |
| 7 perspective: 50; | 7 perspective: 50; |
| 8 margin-top: 50px; | 8 margin-top: 50px; |
| 9 margin-bottom: 25px; | 9 margin-bottom: 25px; |
| 10 } | 10 } |
| 11 .transformed { | 11 .transformed { |
| 12 width: 50px; | 12 width: 50px; |
| 13 height: 50px; | 13 height: 50px; |
| 14 background: black; | 14 background: black; |
| 15 -webkit-transform: rotateY(45deg); | |
| 16 transform: rotateY(45deg); | 15 transform: rotateY(45deg); |
| 17 } | 16 } |
| 18 .replica .transformed { | 17 .replica .transformed { |
| 19 background: green; | 18 background: green; |
| 20 } | 19 } |
| 21 .replica { | 20 .replica { |
| 22 position: relative; | 21 position: relative; |
| 23 left: -50px; | 22 left: -50px; |
| 24 opacity: 0.75; | 23 opacity: 0.75; |
| 25 } | 24 } |
| (...skipping 11 matching lines...) Expand all Loading... |
| 37 }, [ | 36 }, [ |
| 38 {at: -0.3, is: '-30% 20%'}, | 37 {at: -0.3, is: '-30% 20%'}, |
| 39 {at: 0, is: '0% 50%'}, | 38 {at: 0, is: '0% 50%'}, |
| 40 {at: 0.3, is: '30% 80%'}, | 39 {at: 0.3, is: '30% 80%'}, |
| 41 {at: 0.6, is: '60% 110%'}, | 40 {at: 0.6, is: '60% 110%'}, |
| 42 {at: 1, is: '100% 150%'}, | 41 {at: 1, is: '100% 150%'}, |
| 43 {at: 1.5, is: '150% 200%'} | 42 {at: 1.5, is: '150% 200%'} |
| 44 ]); | 43 ]); |
| 45 </script> | 44 </script> |
| 46 </body> | 45 </body> |
| OLD | NEW |