@douyinfe/semi-animation-styled 2.1.0-alpha.0 → 2.1.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/lib/es/src/_base.css +87 -0
  2. package/lib/es/src/attention_seekers/bounce.css +36 -0
  3. package/lib/es/src/attention_seekers/flash.css +22 -0
  4. package/lib/es/src/attention_seekers/headShake.css +36 -0
  5. package/lib/es/src/attention_seekers/heartBeat.css +33 -0
  6. package/lib/es/src/attention_seekers/jello.css +46 -0
  7. package/lib/es/src/attention_seekers/pulse.css +25 -0
  8. package/lib/es/src/attention_seekers/rubberBand.css +39 -0
  9. package/lib/es/src/attention_seekers/shake.css +31 -0
  10. package/lib/es/src/attention_seekers/swing.css +32 -0
  11. package/lib/es/src/attention_seekers/tada.css +37 -0
  12. package/lib/es/src/attention_seekers/wobble.css +41 -0
  13. package/lib/es/src/bouncing_entrances/bounceIn.css +48 -0
  14. package/lib/es/src/bouncing_entrances/bounceInDown.css +41 -0
  15. package/lib/es/src/bouncing_entrances/bounceInLeft.css +41 -0
  16. package/lib/es/src/bouncing_entrances/bounceInRight.css +41 -0
  17. package/lib/es/src/bouncing_entrances/bounceInUp.css +41 -0
  18. package/lib/es/src/bouncing_exits/bounceOut.css +27 -0
  19. package/lib/es/src/bouncing_exits/bounceOutDown.css +26 -0
  20. package/lib/es/src/bouncing_exits/bounceOutLeft.css +21 -0
  21. package/lib/es/src/bouncing_exits/bounceOutRight.css +21 -0
  22. package/lib/es/src/bouncing_exits/bounceOutUp.css +26 -0
  23. package/lib/es/src/fading_entrances/fadeIn.css +19 -0
  24. package/lib/es/src/fading_entrances/fadeInDown.css +21 -0
  25. package/lib/es/src/fading_entrances/fadeInDownBig.css +21 -0
  26. package/lib/es/src/fading_entrances/fadeInLeft.css +21 -0
  27. package/lib/es/src/fading_entrances/fadeInLeftBig.css +21 -0
  28. package/lib/es/src/fading_entrances/fadeInRight.css +21 -0
  29. package/lib/es/src/fading_entrances/fadeInRightBig.css +21 -0
  30. package/lib/es/src/fading_entrances/fadeInUp.css +21 -0
  31. package/lib/es/src/fading_entrances/fadeInUpBig.css +21 -0
  32. package/lib/es/src/fading_exits/fadeOut.css +19 -0
  33. package/lib/es/src/fading_exits/fadeOutDown.css +20 -0
  34. package/lib/es/src/fading_exits/fadeOutDownBig.css +20 -0
  35. package/lib/es/src/fading_exits/fadeOutLeft.css +20 -0
  36. package/lib/es/src/fading_exits/fadeOutLeftBig.css +20 -0
  37. package/lib/es/src/fading_exits/fadeOutRight.css +20 -0
  38. package/lib/es/src/fading_exits/fadeOutRightBig.css +20 -0
  39. package/lib/es/src/fading_exits/fadeOutUp.css +20 -0
  40. package/lib/es/src/fading_exits/fadeOutUpBig.css +20 -0
  41. package/lib/es/src/flippers/flip.css +37 -0
  42. package/lib/es/src/flippers/flipInX.css +36 -0
  43. package/lib/es/src/flippers/flipInY.css +36 -0
  44. package/lib/es/src/flippers/flipOutX.css +27 -0
  45. package/lib/es/src/flippers/flipOutY.css +27 -0
  46. package/lib/es/src/index.css +99 -0
  47. package/lib/es/src/lightspeed/lightSpeedIn.css +30 -0
  48. package/lib/es/src/lightspeed/lightSpeedOut.css +21 -0
  49. package/lib/es/src/rotating_entrances/rotateIn.css +23 -0
  50. package/lib/es/src/rotating_entrances/rotateInDownLeft.css +23 -0
  51. package/lib/es/src/rotating_entrances/rotateInDownRight.css +23 -0
  52. package/lib/es/src/rotating_entrances/rotateInUpLeft.css +23 -0
  53. package/lib/es/src/rotating_entrances/rotateInUpRight.css +23 -0
  54. package/lib/es/src/rotating_exits/rotateOut.css +22 -0
  55. package/lib/es/src/rotating_exits/rotateOutDownLeft.css +22 -0
  56. package/lib/es/src/rotating_exits/rotateOutDownRight.css +22 -0
  57. package/lib/es/src/rotating_exits/rotateOutUpLeft.css +22 -0
  58. package/lib/es/src/rotating_exits/rotateOutUpRight.css +22 -0
  59. package/lib/es/src/sliding_entrances/slideInDown.css +20 -0
  60. package/lib/es/src/sliding_entrances/slideInLeft.css +20 -0
  61. package/lib/es/src/sliding_entrances/slideInRight.css +20 -0
  62. package/lib/es/src/sliding_entrances/slideInUp.css +20 -0
  63. package/lib/es/src/sliding_exits/slideOutDown.css +20 -0
  64. package/lib/es/src/sliding_exits/slideOutLeft.css +20 -0
  65. package/lib/es/src/sliding_exits/slideOutRight.css +20 -0
  66. package/lib/es/src/sliding_exits/slideOutUp.css +20 -0
  67. package/lib/es/src/specials/hinge.css +37 -0
  68. package/lib/es/src/specials/jackInTheBox.css +30 -0
  69. package/lib/es/src/specials/rollIn.css +23 -0
  70. package/lib/es/src/specials/rollOut.css +22 -0
  71. package/lib/es/src/zooming_entrances/zoomIn.css +20 -0
  72. package/lib/es/src/zooming_entrances/zoomInDown.css +23 -0
  73. package/lib/es/src/zooming_entrances/zoomInLeft.css +23 -0
  74. package/lib/es/src/zooming_entrances/zoomInRight.css +23 -0
  75. package/lib/es/src/zooming_entrances/zoomInUp.css +23 -0
  76. package/lib/es/src/zooming_exits/zoomOut.css +24 -0
  77. package/lib/es/src/zooming_exits/zoomOutDown.css +24 -0
  78. package/lib/es/src/zooming_exits/zoomOutLeft.css +22 -0
  79. package/lib/es/src/zooming_exits/zoomOutRight.css +22 -0
  80. package/lib/es/src/zooming_exits/zoomOutUp.css +24 -0
  81. package/lib/es/style.d.ts +1 -0
  82. package/lib/es/style.js +1 -0
  83. package/package.json +3 -3
  84. package/lib/cjs/index.d.ts +0 -3
  85. package/lib/cjs/index.js +0 -44
  86. package/lib/cjs/src/constants/times.d.ts +0 -3
  87. package/lib/cjs/src/constants/times.js +0 -15
  88. package/lib/cjs/src/constants/types.d.ts +0 -14
  89. package/lib/cjs/src/constants/types.js +0 -37
@@ -0,0 +1,87 @@
1
+ /*
2
+ * Modified based on animate.css and added prefix name to prevent style conflicts
3
+ * Reference: https://github.com/animate-css/animate.css
4
+ */
5
+
6
+ .semi-animated {
7
+ animation-duration: 1s;
8
+ animation-fill-mode: both;
9
+ }
10
+
11
+ .semi-animated.semi-loop-1 {
12
+ animation-iteration-count: 1;
13
+ }
14
+
15
+ .semi-animated.semi-loop-2 {
16
+ animation-iteration-count: 2;
17
+ }
18
+
19
+ .semi-animated.semi-loop-3 {
20
+ animation-iteration-count: 3;
21
+ }
22
+
23
+ .semi-animated.semi-loop-4 {
24
+ animation-iteration-count: 4;
25
+ }
26
+
27
+ .semi-animated.semi-loop-5 {
28
+ animation-iteration-count: 5;
29
+ }
30
+
31
+ .semi-animated.semi-loop-infinite {
32
+ animation-iteration-count: infinite;
33
+ }
34
+
35
+ .semi-animated.semi-delay-0s {
36
+ animation-delay: 0s;
37
+ }
38
+
39
+ .semi-animated.semi-delay-1s {
40
+ animation-delay: 1s;
41
+ }
42
+
43
+ .semi-animated.semi-delay-2s {
44
+ animation-delay: 2s;
45
+ }
46
+
47
+ .semi-animated.semi-delay-3s {
48
+ animation-delay: 3s;
49
+ }
50
+
51
+ .semi-animated.semi-delay-4s {
52
+ animation-delay: 4s;
53
+ }
54
+
55
+ .semi-animated.semi-delay-5s {
56
+ animation-delay: 5s;
57
+ }
58
+
59
+ .semi-animated.semi-speed-default {
60
+ animation-duration: 1s;
61
+ }
62
+
63
+ .semi-animated.semi-speed-fast {
64
+ animation-duration: 800ms;
65
+ }
66
+
67
+ .semi-animated.semi-speed-faster {
68
+ animation-duration: 500ms;
69
+ }
70
+
71
+ .semi-animated.semi-speed-slow {
72
+ animation-duration: 2s;
73
+ }
74
+
75
+ .semi-animated.semi-speed-slower {
76
+ animation-duration: 3s;
77
+ }
78
+
79
+ @media (print),
80
+ (prefers-reduced-motion: reduce) {
81
+ .semi-animated {
82
+ animation-duration: 1ms !important;
83
+ transition-duration: 1ms !important;
84
+ animation-iteration-count: 1 !important;
85
+ }
86
+ }
87
+
@@ -0,0 +1,36 @@
1
+ /*
2
+ * Modified based on animate.css and added prefix name to prevent style conflicts
3
+ * Reference: https://github.com/animate-css/animate.css
4
+ */
5
+
6
+ @keyframes semi-bounce {
7
+ from,
8
+ 20%,
9
+ 53%,
10
+ 80%,
11
+ to {
12
+ animation-timing-function: cubic-bezier(.215, .61, .355, 1);
13
+ transform: translate3d(0, 0, 0);
14
+ }
15
+
16
+ 40%,
17
+ 43% {
18
+ animation-timing-function: cubic-bezier(.755, .05, .855, .06);
19
+ transform: translate3d(0, -30px, 0);
20
+ }
21
+
22
+ 70% {
23
+ animation-timing-function: cubic-bezier(.755, .05, .855, .06);
24
+ transform: translate3d(0, -15px, 0);
25
+ }
26
+
27
+ 90% {
28
+ transform: translate3d(0, -4px, 0);
29
+ }
30
+ }
31
+
32
+ .semi-bounce {
33
+ animation-name: semi-bounce;
34
+ transform-origin: center bottom;
35
+ }
36
+
@@ -0,0 +1,22 @@
1
+ /*
2
+ * Modified based on animate.css and added prefix name to prevent style conflicts
3
+ * Reference: https://github.com/animate-css/animate.css
4
+ */
5
+
6
+ @keyframes semi-flash {
7
+ from,
8
+ 50%,
9
+ to {
10
+ opacity: 1;
11
+ }
12
+
13
+ 25%,
14
+ 75% {
15
+ opacity: 0;
16
+ }
17
+ }
18
+
19
+ .semi-flash {
20
+ animation-name: semi-flash;
21
+ }
22
+
@@ -0,0 +1,36 @@
1
+ /*
2
+ * Modified based on animate.css and added prefix name to prevent style conflicts
3
+ * Reference: https://github.com/animate-css/animate.css
4
+ */
5
+
6
+ @keyframes semi-headShake {
7
+ 0% {
8
+ transform: translateX(0);
9
+ }
10
+
11
+ 6.5% {
12
+ transform: translateX(-6px) rotateY(-9deg);
13
+ }
14
+
15
+ 18.5% {
16
+ transform: translateX(5px) rotateY(7deg);
17
+ }
18
+
19
+ 31.5% {
20
+ transform: translateX(-3px) rotateY(-5deg);
21
+ }
22
+
23
+ 43.5% {
24
+ transform: translateX(2px) rotateY(3deg);
25
+ }
26
+
27
+ 50% {
28
+ transform: translateX(0);
29
+ }
30
+ }
31
+
32
+ .semi-headShake {
33
+ animation-timing-function: ease-in-out;
34
+ animation-name: semi-headShake;
35
+ }
36
+
@@ -0,0 +1,33 @@
1
+ /*
2
+ * Modified based on animate.css and added prefix name to prevent style conflicts
3
+ * Reference: https://github.com/animate-css/animate.css
4
+ */
5
+
6
+ @keyframes semi-heartBeat {
7
+ 0% {
8
+ transform: scale(1);
9
+ }
10
+
11
+ 14% {
12
+ transform: scale(1.3);
13
+ }
14
+
15
+ 28% {
16
+ transform: scale(1);
17
+ }
18
+
19
+ 42% {
20
+ transform: scale(1.3);
21
+ }
22
+
23
+ 70% {
24
+ transform: scale(1);
25
+ }
26
+ }
27
+
28
+ .semi-heartBeat {
29
+ animation-name: semi-heartBeat;
30
+ animation-duration: 1.3s;
31
+ animation-timing-function: ease-in-out;
32
+ }
33
+
@@ -0,0 +1,46 @@
1
+ /*
2
+ * Modified based on animate.css and added prefix name to prevent style conflicts
3
+ * Reference: https://github.com/animate-css/animate.css
4
+ */
5
+
6
+ @keyframes semi-jello {
7
+ from,
8
+ 11.1%,
9
+ to {
10
+ transform: translate3d(0, 0, 0);
11
+ }
12
+
13
+ 22.2% {
14
+ transform: skewX(-12.5deg) skewY(-12.5deg);
15
+ }
16
+
17
+ 33.3% {
18
+ transform: skewX(6.25deg) skewY(6.25deg);
19
+ }
20
+
21
+ 44.4% {
22
+ transform: skewX(-3.125deg) skewY(-3.125deg);
23
+ }
24
+
25
+ 55.5% {
26
+ transform: skewX(1.5625deg) skewY(1.5625deg);
27
+ }
28
+
29
+ 66.6% {
30
+ transform: skewX(-.78125deg) skewY(-.78125deg);
31
+ }
32
+
33
+ 77.7% {
34
+ transform: skewX(.390625deg) skewY(.390625deg);
35
+ }
36
+
37
+ 88.8% {
38
+ transform: skewX(-.1953125deg) skewY(-.1953125deg);
39
+ }
40
+ }
41
+
42
+ .semi-jello {
43
+ animation-name: semi-jello;
44
+ transform-origin: center;
45
+ }
46
+
@@ -0,0 +1,25 @@
1
+ /*
2
+ * Modified based on animate.css and added prefix name to prevent style conflicts
3
+ * Reference: https://github.com/animate-css/animate.css
4
+ */
5
+
6
+ /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
7
+
8
+ @keyframes semi-pulse {
9
+ from {
10
+ transform: scale3d(1, 1, 1);
11
+ }
12
+
13
+ 50% {
14
+ transform: scale3d(1.05, 1.05, 1.05);
15
+ }
16
+
17
+ to {
18
+ transform: scale3d(1, 1, 1);
19
+ }
20
+ }
21
+
22
+ .semi-pulse {
23
+ animation-name: semi-pulse;
24
+ }
25
+
@@ -0,0 +1,39 @@
1
+ /*
2
+ * Modified based on animate.css and added prefix name to prevent style conflicts
3
+ * Reference: https://github.com/animate-css/animate.css
4
+ */
5
+
6
+ @keyframes semi-rubberBand {
7
+ from {
8
+ transform: scale3d(1, 1, 1);
9
+ }
10
+
11
+ 30% {
12
+ transform: scale3d(1.25, .75, 1);
13
+ }
14
+
15
+ 40% {
16
+ transform: scale3d(.75, 1.25, 1);
17
+ }
18
+
19
+ 50% {
20
+ transform: scale3d(1.15, .85, 1);
21
+ }
22
+
23
+ 65% {
24
+ transform: scale3d(.95, 1.05, 1);
25
+ }
26
+
27
+ 75% {
28
+ transform: scale3d(1.05, .95, 1);
29
+ }
30
+
31
+ to {
32
+ transform: scale3d(1, 1, 1);
33
+ }
34
+ }
35
+
36
+ .semi-rubberBand {
37
+ animation-name: semi-rubberBand;
38
+ }
39
+
@@ -0,0 +1,31 @@
1
+ /*
2
+ * Modified based on animate.css and added prefix name to prevent style conflicts
3
+ * Reference: https://github.com/animate-css/animate.css
4
+ */
5
+
6
+ @keyframes semi-shake {
7
+ from,
8
+ to {
9
+ transform: translate3d(0, 0, 0);
10
+ }
11
+
12
+ 10%,
13
+ 30%,
14
+ 50%,
15
+ 70%,
16
+ 90% {
17
+ transform: translate3d(-10px, 0, 0);
18
+ }
19
+
20
+ 20%,
21
+ 40%,
22
+ 60%,
23
+ 80% {
24
+ transform: translate3d(10px, 0, 0);
25
+ }
26
+ }
27
+
28
+ .semi-shake {
29
+ animation-name: semi-shake;
30
+ }
31
+
@@ -0,0 +1,32 @@
1
+ /*
2
+ * Modified based on animate.css and added prefix name to prevent style conflicts
3
+ * Reference: https://github.com/animate-css/animate.css
4
+ */
5
+
6
+ @keyframes semi-swing {
7
+ 20% {
8
+ transform: rotate3d(0, 0, 1, 15deg);
9
+ }
10
+
11
+ 40% {
12
+ transform: rotate3d(0, 0, 1, -10deg);
13
+ }
14
+
15
+ 60% {
16
+ transform: rotate3d(0, 0, 1, 5deg);
17
+ }
18
+
19
+ 80% {
20
+ transform: rotate3d(0, 0, 1, -5deg);
21
+ }
22
+
23
+ to {
24
+ transform: rotate3d(0, 0, 1, 0deg);
25
+ }
26
+ }
27
+
28
+ .semi-swing {
29
+ transform-origin: top center;
30
+ animation-name: semi-swing;
31
+ }
32
+
@@ -0,0 +1,37 @@
1
+ /*
2
+ * Modified based on animate.css and added prefix name to prevent style conflicts
3
+ * Reference: https://github.com/animate-css/animate.css
4
+ */
5
+
6
+ @keyframes semi-tada {
7
+ from {
8
+ transform: scale3d(1, 1, 1);
9
+ }
10
+
11
+ 10%,
12
+ 20% {
13
+ transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
14
+ }
15
+
16
+ 30%,
17
+ 50%,
18
+ 70%,
19
+ 90% {
20
+ transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
21
+ }
22
+
23
+ 40%,
24
+ 60%,
25
+ 80% {
26
+ transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
27
+ }
28
+
29
+ to {
30
+ transform: scale3d(1, 1, 1);
31
+ }
32
+ }
33
+
34
+ .semi-tada {
35
+ animation-name: semi-tada;
36
+ }
37
+
@@ -0,0 +1,41 @@
1
+ /*
2
+ * Modified based on animate.css and added prefix name to prevent style conflicts
3
+ * Reference: https://github.com/animate-css/animate.css
4
+ */
5
+
6
+ /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
7
+
8
+ @keyframes semi-wobble {
9
+ from {
10
+ transform: translate3d(0, 0, 0);
11
+ }
12
+
13
+ 15% {
14
+ transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
15
+ }
16
+
17
+ 30% {
18
+ transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
19
+ }
20
+
21
+ 45% {
22
+ transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
23
+ }
24
+
25
+ 60% {
26
+ transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
27
+ }
28
+
29
+ 75% {
30
+ transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
31
+ }
32
+
33
+ to {
34
+ transform: translate3d(0, 0, 0);
35
+ }
36
+ }
37
+
38
+ .semi-wobble {
39
+ animation-name: semi-wobble;
40
+ }
41
+
@@ -0,0 +1,48 @@
1
+ /*
2
+ * Modified based on animate.css and added prefix name to prevent style conflicts
3
+ * Reference: https://github.com/animate-css/animate.css
4
+ */
5
+
6
+ @keyframes semi-bounceIn {
7
+ from,
8
+ 20%,
9
+ 40%,
10
+ 60%,
11
+ 80%,
12
+ to {
13
+ animation-timing-function: cubic-bezier(.215, .61, .355, 1);
14
+ }
15
+
16
+ 0% {
17
+ opacity: 0;
18
+ transform: scale3d(.3, .3, .3);
19
+ }
20
+
21
+ 20% {
22
+ transform: scale3d(1.1, 1.1, 1.1);
23
+ }
24
+
25
+ 40% {
26
+ transform: scale3d(.9, .9, .9);
27
+ }
28
+
29
+ 60% {
30
+ opacity: 1;
31
+ transform: scale3d(1.03, 1.03, 1.03);
32
+ }
33
+
34
+ 80% {
35
+ transform: scale3d(.97, .97, .97);
36
+ }
37
+
38
+ to {
39
+ opacity: 1;
40
+ transform: scale3d(1, 1, 1);
41
+ }
42
+ }
43
+
44
+ .semi-bounceIn {
45
+ animation-duration: .75s;
46
+ animation-name: semi-bounceIn;
47
+ }
48
+
@@ -0,0 +1,41 @@
1
+ /*
2
+ * Modified based on animate.css and added prefix name to prevent style conflicts
3
+ * Reference: https://github.com/animate-css/animate.css
4
+ */
5
+
6
+ @keyframes semi-bounceInDown {
7
+ from,
8
+ 60%,
9
+ 75%,
10
+ 90%,
11
+ to {
12
+ animation-timing-function: cubic-bezier(.215, .61, .355, 1);
13
+ }
14
+
15
+ 0% {
16
+ opacity: 0;
17
+ transform: translate3d(0, -3000px, 0);
18
+ }
19
+
20
+ 60% {
21
+ opacity: 1;
22
+ transform: translate3d(0, 25px, 0);
23
+ }
24
+
25
+ 75% {
26
+ transform: translate3d(0, -10px, 0);
27
+ }
28
+
29
+ 90% {
30
+ transform: translate3d(0, 5px, 0);
31
+ }
32
+
33
+ to {
34
+ transform: translate3d(0, 0, 0);
35
+ }
36
+ }
37
+
38
+ .semi-bounceInDown {
39
+ animation-name: semi-bounceInDown;
40
+ }
41
+
@@ -0,0 +1,41 @@
1
+ /*
2
+ * Modified based on animate.css and added prefix name to prevent style conflicts
3
+ * Reference: https://github.com/animate-css/animate.css
4
+ */
5
+
6
+ @keyframes semi-bounceInLeft {
7
+ from,
8
+ 60%,
9
+ 75%,
10
+ 90%,
11
+ to {
12
+ animation-timing-function: cubic-bezier(.215, .61, .355, 1);
13
+ }
14
+
15
+ 0% {
16
+ opacity: 0;
17
+ transform: translate3d(-3000px, 0, 0);
18
+ }
19
+
20
+ 60% {
21
+ opacity: 1;
22
+ transform: translate3d(25px, 0, 0);
23
+ }
24
+
25
+ 75% {
26
+ transform: translate3d(-10px, 0, 0);
27
+ }
28
+
29
+ 90% {
30
+ transform: translate3d(5px, 0, 0);
31
+ }
32
+
33
+ to {
34
+ transform: translate3d(0, 0, 0);
35
+ }
36
+ }
37
+
38
+ .semi-bounceInLeft {
39
+ animation-name: semi-bounceInLeft;
40
+ }
41
+
@@ -0,0 +1,41 @@
1
+ /*
2
+ * Modified based on animate.css and added prefix name to prevent style conflicts
3
+ * Reference: https://github.com/animate-css/animate.css
4
+ */
5
+
6
+ @keyframes semi-bounceInRight {
7
+ from,
8
+ 60%,
9
+ 75%,
10
+ 90%,
11
+ to {
12
+ animation-timing-function: cubic-bezier(.215, .61, .355, 1);
13
+ }
14
+
15
+ from {
16
+ opacity: 0;
17
+ transform: translate3d(3000px, 0, 0);
18
+ }
19
+
20
+ 60% {
21
+ opacity: 1;
22
+ transform: translate3d(-25px, 0, 0);
23
+ }
24
+
25
+ 75% {
26
+ transform: translate3d(10px, 0, 0);
27
+ }
28
+
29
+ 90% {
30
+ transform: translate3d(-5px, 0, 0);
31
+ }
32
+
33
+ to {
34
+ transform: translate3d(0, 0, 0);
35
+ }
36
+ }
37
+
38
+ .semi-bounceInRight {
39
+ animation-name: semi-bounceInRight;
40
+ }
41
+
@@ -0,0 +1,41 @@
1
+ /*
2
+ * Modified based on animate.css and added prefix name to prevent style conflicts
3
+ * Reference: https://github.com/animate-css/animate.css
4
+ */
5
+
6
+ @keyframes semi-bounceInUp {
7
+ from,
8
+ 60%,
9
+ 75%,
10
+ 90%,
11
+ to {
12
+ animation-timing-function: cubic-bezier(.215, .61, .355, 1);
13
+ }
14
+
15
+ from {
16
+ opacity: 0;
17
+ transform: translate3d(0, 3000px, 0);
18
+ }
19
+
20
+ 60% {
21
+ opacity: 1;
22
+ transform: translate3d(0, -20px, 0);
23
+ }
24
+
25
+ 75% {
26
+ transform: translate3d(0, 10px, 0);
27
+ }
28
+
29
+ 90% {
30
+ transform: translate3d(0, -5px, 0);
31
+ }
32
+
33
+ to {
34
+ transform: translate3d(0, 0, 0);
35
+ }
36
+ }
37
+
38
+ .semi-bounceInUp {
39
+ animation-name: semi-bounceInUp;
40
+ }
41
+