Matteo Scandolo | 90ed064 | 2016-04-25 10:11:56 -0700 | [diff] [blame] | 1 | @keyframes slideInRight { |
| 2 | from { |
| 3 | transform: translate3d(100%, 0, 0); |
| 4 | visibility: visible; |
| 5 | } |
| 6 | |
| 7 | to { |
| 8 | transform: translate3d(0, 0, 0); |
| 9 | } |
| 10 | } |
| 11 | |
| 12 | @keyframes slideOutRight { |
| 13 | from { |
| 14 | transform: translate3d(0, 0, 0); |
| 15 | } |
| 16 | |
| 17 | to { |
| 18 | visibility: hidden; |
| 19 | transform: translate3d(100%, 0, 0); |
| 20 | } |
Matteo Scandolo | 88e1846 | 2016-04-25 14:24:18 -0700 | [diff] [blame] | 21 | } |
| 22 | |
| 23 | @keyframes fadeInUp { |
| 24 | from { |
| 25 | opacity: 0; |
| 26 | transform: translate3d(0, 100%, 0); |
| 27 | } |
| 28 | |
| 29 | to { |
| 30 | opacity: 1; |
| 31 | transform: none; |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | @keyframes fadeOutDown { |
| 36 | from { |
| 37 | opacity: 1; |
| 38 | } |
| 39 | |
| 40 | to { |
| 41 | opacity: 0; |
| 42 | transform: translate3d(0, 100%, 0); |
| 43 | } |
Matteo Scandolo | 90ed064 | 2016-04-25 10:11:56 -0700 | [diff] [blame] | 44 | } |