| 1 |
// --------------------------------------------------------------------------- |
| 2 |
@include keyframes(bounceOut) { |
| 3 |
0% { |
| 4 |
@include scale(1); } |
| 5 |
25% { |
| 6 |
@include scale(0.95); } |
| 7 |
50% { |
| 8 |
opacity: 1; |
| 9 |
@include scale(1.1); } |
| 10 |
100% { |
| 11 |
opacity: 0; |
| 12 |
@include scale(0.3); } } |
| 13 |
|
| 14 |
|
| 15 |
// --------------------------------------------------------------------------- |
| 16 |
@include keyframes(bounceOutUp) { |
| 17 |
0% { |
| 18 |
@include translateY(0); } |
| 19 |
20% { |
| 20 |
opacity: 1; |
| 21 |
@include translateY(20px); } |
| 22 |
100% { |
| 23 |
opacity: 0; |
| 24 |
@include translateY(-2000px); } } |
| 25 |
|
| 26 |
|
| 27 |
// --------------------------------------------------------------------------- |
| 28 |
@include keyframes(bounceOutDown) { |
| 29 |
0% { |
| 30 |
@include translateY(0); } |
| 31 |
20% { |
| 32 |
opacity: 1; |
| 33 |
@include translateY(-20px); } |
| 34 |
100% { |
| 35 |
opacity: 0; |
| 36 |
@include translateY(2000px); } } |
| 37 |
|
| 38 |
|
| 39 |
// --------------------------------------------------------------------------- |
| 40 |
@include keyframes(bounceOutLeft) { |
| 41 |
0% { |
| 42 |
@include translateX(0); } |
| 43 |
20% { |
| 44 |
opacity: 1; |
| 45 |
@include translateX(20px); } |
| 46 |
100% { |
| 47 |
opacity: 0; |
| 48 |
@include translateX(-2000px); } } |
| 49 |
|
| 50 |
|
| 51 |
// --------------------------------------------------------------------------- |
| 52 |
@include keyframes(bounceOutRight) { |
| 53 |
0% { |
| 54 |
@include translateX(0); } |
| 55 |
20% { |
| 56 |
opacity: 1; |
| 57 |
@include translateX(-20px); } |
| 58 |
100% { |
| 59 |
opacity: 0; |
| 60 |
@include translateX(2000px); } } |