| 1 |
@keyframes sd-slide-from-left { |
| 2 |
0% { |
| 3 |
transform: translateX(-100%); |
| 4 |
} |
| 5 |
100% { |
| 6 |
transform: translateX(0); |
| 7 |
} |
| 8 |
} |
| 9 |
|
| 10 |
@keyframes sd-slide-from-right { |
| 11 |
0% { |
| 12 |
transform: translateX(200%); |
| 13 |
} |
| 14 |
100% { |
| 15 |
transform: translateX(0); |
| 16 |
} |
| 17 |
} |
| 18 |
|
| 19 |
@keyframes sd-grow100 { |
| 20 |
0% { |
| 21 |
transform: scale(0); |
| 22 |
opacity: 0.5; |
| 23 |
} |
| 24 |
100% { |
| 25 |
transform: scale(1); |
| 26 |
opacity: 1; |
| 27 |
} |
| 28 |
} |
| 29 |
|
| 30 |
@keyframes sd-grow50 { |
| 31 |
0% { |
| 32 |
transform: scale(0.5); |
| 33 |
opacity: 0.5; |
| 34 |
} |
| 35 |
100% { |
| 36 |
transform: scale(1); |
| 37 |
opacity: 1; |
| 38 |
} |
| 39 |
} |
| 40 |
|
| 41 |
@keyframes sd-grow50-rot20 { |
| 42 |
0% { |
| 43 |
transform: scale(0.5) rotateZ(-20deg); |
| 44 |
opacity: 0.5; |
| 45 |
} |
| 46 |
75% { |
| 47 |
transform: scale(1) rotateZ(5deg); |
| 48 |
opacity: 1; |
| 49 |
} |
| 50 |
95% { |
| 51 |
transform: scale(1) rotateZ(-1deg); |
| 52 |
opacity: 1; |
| 53 |
} |
| 54 |
100% { |
| 55 |
transform: scale(1) rotateZ(0); |
| 56 |
opacity: 1; |
| 57 |
} |
| 58 |
} |
| 59 |
|
| 60 |
// animation is shorthand for 'animation-' properties: |
| 61 |
// duration | easing-function | delay | iteration-count | direction | fill-mode | play-state | name |
| 62 |
|
| 63 |
.sd-animate-slide-from-left { |
| 64 |
animation: 1s ease-out 0s 1 normal none running sd-slide-from-left; |
| 65 |
} |
| 66 |
|
| 67 |
.sd-animate-slide-from-right { |
| 68 |
animation: 1s ease-out 0s 1 normal none running sd-slide-from-right; |
| 69 |
} |
| 70 |
|
| 71 |
.sd-animate-grow100 { |
| 72 |
animation: 1s ease-out 0s 1 normal none running sd-grow100; |
| 73 |
} |
| 74 |
|
| 75 |
.sd-animate-grow50 { |
| 76 |
animation: 1s ease-out 0s 1 normal none running sd-grow50; |
| 77 |
} |
| 78 |
|
| 79 |
.sd-animate-grow50-rot20 { |
| 80 |
animation: 1s ease-out 0s 1 normal none running sd-grow50-rot20; |
| 81 |
} |