Matteo Scandolo | 5136587 | 2016-06-03 10:00:05 -0700 | [diff] [blame] | 1 | /* animations |
| 2 | -------------------------------------------------- */ |
| 3 | |
| 4 | @keyframes slideOutRight { |
| 5 | from { |
| 6 | transform: translate3d(0, 0, 0); |
| 7 | opacity: 1; |
| 8 | } |
| 9 | |
| 10 | to { |
| 11 | opacity: 0; |
| 12 | transform: translate3d(100%, 0, 0); |
| 13 | } |
| 14 | } |
| 15 | |
| 16 | @keyframes slideInRight { |
| 17 | from { |
| 18 | transform: translate3d(100%, 0, 0); |
| 19 | opacity: 0; |
| 20 | } |
| 21 | |
| 22 | to { |
| 23 | transform: translate3d(0, 0, 0); |
| 24 | opacity: 1; |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | @keyframes fadein { |
| 29 | from { |
| 30 | opacity: 0; |
| 31 | transform: scale3d(.3, .3, .3); |
| 32 | } |
| 33 | 50% { |
| 34 | transform: scale3d(1, 1, 1); |
| 35 | } |
| 36 | to { opacity: 1; } |
| 37 | } |