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 width: 80px; | 5 width: 80px; |
6 height: 80px; | 6 height: 80px; |
7 display: inline-block; | 7 display: inline-block; |
8 background-color: black; | 8 background-color: black; |
9 margin-right: 5px; | 9 margin-right: 5px; |
10 } | 10 } |
(...skipping 28 matching lines...) Expand all Loading... |
39 // with different (but equivalent) calc expressions. | 39 // with different (but equivalent) calc expressions. |
40 {at: -0.3, is: 'calc(13px + -30%)'}, | 40 {at: -0.3, is: 'calc(13px + -30%)'}, |
41 {at: 0, is: '10px'}, | 41 {at: 0, is: '10px'}, |
42 {at: 0.3, is: 'calc(7px + 30%)'}, | 42 {at: 0.3, is: 'calc(7px + 30%)'}, |
43 {at: 0.6, is: 'calc(4px + 60%)'}, | 43 {at: 0.6, is: 'calc(4px + 60%)'}, |
44 {at: 1, is: '100%'}, | 44 {at: 1, is: '100%'}, |
45 {at: 1.5, is: 'calc(-5px + 150%)'}, | 45 {at: 1.5, is: 'calc(-5px + 150%)'}, |
46 ]); | 46 ]); |
47 </script> | 47 </script> |
48 </body> | 48 </body> |
OLD | NEW |