tw-animations 2.0.0
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.
- package/README.md +50 -0
- package/package.json +44 -0
- package/src/animations/attention-seekers.css +496 -0
- package/src/animations/back-entrances.css +77 -0
- package/src/animations/back-exits.css +77 -0
- package/src/animations/bouncing-entrances.css +126 -0
- package/src/animations/bouncing-exits.css +90 -0
- package/src/animations/dashing.css +71 -0
- package/src/animations/default.css +17 -0
- package/src/animations/expanding.css +145 -0
- package/src/animations/fading-entrances.css +74 -0
- package/src/animations/fading-exits.css +75 -0
- package/src/animations/flippers.css +132 -0
- package/src/animations/rotating-entrances.css +100 -0
- package/src/animations/rotating-exits.css +95 -0
- package/src/animations/sliding-entrances.css +66 -0
- package/src/animations/sliding-exits.css +67 -0
- package/src/animations/specials.css +123 -0
- package/src/animations/zooming-entrances.css +75 -0
- package/src/animations/zooming-exits.css +78 -0
- package/src/index.css +33 -0
- package/src/scroll/ranges.css +82 -0
- package/src/scroll/timelines.css +46 -0
- package/src/utilities/composition.css +11 -0
- package/src/utilities/delay.css +9 -0
- package/src/utilities/direction.css +15 -0
- package/src/utilities/duration.css +9 -0
- package/src/utilities/fill-mode.css +15 -0
- package/src/utilities/iteration-count.css +19 -0
- package/src/utilities/play-state.css +15 -0
- package/src/utilities/timing-function.css +23 -0
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
@theme default {
|
|
2
|
+
--animate-flip: flip var(--default-animation-duration, 1s)
|
|
3
|
+
var(--default-animation-timing-function, ease-in-out)
|
|
4
|
+
var(--default-animation-delay, 0s) both;
|
|
5
|
+
|
|
6
|
+
--animate-flip-in-x: flip-in-x var(--default-animation-duration, 1s)
|
|
7
|
+
var(--default-animation-timing-function, ease-in)
|
|
8
|
+
var(--default-animation-delay, 0s) both;
|
|
9
|
+
|
|
10
|
+
--animate-flip-in-y: flip-in-y var(--default-animation-duration, 1s)
|
|
11
|
+
var(--default-animation-timing-function, ease-in)
|
|
12
|
+
var(--default-animation-delay, 0s) both;
|
|
13
|
+
|
|
14
|
+
--animate-flip-out-x: flip-out-x var(--default-animation-duration, 0.75s)
|
|
15
|
+
var(--default-animation-timing-function, ease-out)
|
|
16
|
+
var(--default-animation-delay, 0s) both;
|
|
17
|
+
|
|
18
|
+
--animate-flip-out-y: flip-out-y var(--default-animation-duration, 0.75s)
|
|
19
|
+
var(--default-animation-timing-function, ease-out)
|
|
20
|
+
var(--default-animation-delay, 0s) both;
|
|
21
|
+
|
|
22
|
+
@keyframes flip {
|
|
23
|
+
from {
|
|
24
|
+
transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0)
|
|
25
|
+
rotate3d(0, 1, 0, -360deg);
|
|
26
|
+
}
|
|
27
|
+
40% {
|
|
28
|
+
transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px)
|
|
29
|
+
rotate3d(0, 1, 0, -190deg);
|
|
30
|
+
}
|
|
31
|
+
50% {
|
|
32
|
+
transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px)
|
|
33
|
+
rotate3d(0, 1, 0, -170deg);
|
|
34
|
+
}
|
|
35
|
+
80% {
|
|
36
|
+
transform: perspective(400px) scale3d(0.95, 0.95, 0.95)
|
|
37
|
+
translate3d(0, 0, 0) rotate3d(0, 1, 0, 0deg);
|
|
38
|
+
}
|
|
39
|
+
to {
|
|
40
|
+
transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0)
|
|
41
|
+
rotate3d(0, 1, 0, 0deg);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@keyframes flip-in-x {
|
|
46
|
+
from {
|
|
47
|
+
transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
|
|
48
|
+
opacity: 0;
|
|
49
|
+
}
|
|
50
|
+
40% {
|
|
51
|
+
transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
|
|
52
|
+
}
|
|
53
|
+
60% {
|
|
54
|
+
transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
|
|
55
|
+
opacity: 1;
|
|
56
|
+
}
|
|
57
|
+
80% {
|
|
58
|
+
transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
|
|
59
|
+
}
|
|
60
|
+
to {
|
|
61
|
+
transform: perspective(400px);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@keyframes flip-in-y {
|
|
66
|
+
from {
|
|
67
|
+
transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
|
|
68
|
+
opacity: 0;
|
|
69
|
+
}
|
|
70
|
+
40% {
|
|
71
|
+
transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
|
|
72
|
+
}
|
|
73
|
+
60% {
|
|
74
|
+
transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
|
|
75
|
+
opacity: 1;
|
|
76
|
+
}
|
|
77
|
+
80% {
|
|
78
|
+
transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
|
|
79
|
+
}
|
|
80
|
+
to {
|
|
81
|
+
transform: perspective(400px);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
@keyframes flip-out-x {
|
|
86
|
+
from {
|
|
87
|
+
transform: perspective(400px);
|
|
88
|
+
}
|
|
89
|
+
30% {
|
|
90
|
+
transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
|
|
91
|
+
opacity: 1;
|
|
92
|
+
}
|
|
93
|
+
to {
|
|
94
|
+
transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
|
|
95
|
+
opacity: 0;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
@keyframes flip-out-y {
|
|
100
|
+
from {
|
|
101
|
+
transform: perspective(400px);
|
|
102
|
+
}
|
|
103
|
+
30% {
|
|
104
|
+
transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
|
|
105
|
+
opacity: 1;
|
|
106
|
+
}
|
|
107
|
+
to {
|
|
108
|
+
transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
|
|
109
|
+
opacity: 0;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
@utility animate-flip {
|
|
115
|
+
backface-visibility: visible;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
@utility animate-flip-in-x {
|
|
119
|
+
backface-visibility: visible;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
@utility animate-flip-in-y {
|
|
123
|
+
backface-visibility: visible;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
@utility animate-flip-out-x {
|
|
127
|
+
backface-visibility: visible;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
@utility animate-flip-out-y {
|
|
131
|
+
backface-visibility: visible;
|
|
132
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
@theme default {
|
|
2
|
+
--animate-rotate-in: rotate-in var(--default-animation-duration, 1s)
|
|
3
|
+
var(--default-animation-timing-function, ease-in)
|
|
4
|
+
var(--default-animation-delay, 0s) both;
|
|
5
|
+
|
|
6
|
+
--animate-rotate-in-down-start: rotate-in-down-start
|
|
7
|
+
var(--default-animation-duration, 1s)
|
|
8
|
+
var(--default-animation-timing-function, ease-in)
|
|
9
|
+
var(--default-animation-delay, 0s) both;
|
|
10
|
+
|
|
11
|
+
--animate-rotate-in-down-end: rotate-in-down-end
|
|
12
|
+
var(--default-animation-duration, 1s)
|
|
13
|
+
var(--default-animation-timing-function, ease-in)
|
|
14
|
+
var(--default-animation-delay, 0s) both;
|
|
15
|
+
|
|
16
|
+
--animate-rotate-in-up-start: rotate-in-up-start
|
|
17
|
+
var(--default-animation-duration, 1s)
|
|
18
|
+
var(--default-animation-timing-function, ease-in)
|
|
19
|
+
var(--default-animation-delay, 0s) both;
|
|
20
|
+
|
|
21
|
+
--animate-rotate-in-up-end: rotate-in-up-end
|
|
22
|
+
var(--default-animation-duration, 1s)
|
|
23
|
+
var(--default-animation-timing-function, ease-in)
|
|
24
|
+
var(--default-animation-delay, 0s) both;
|
|
25
|
+
|
|
26
|
+
@keyframes rotate-in {
|
|
27
|
+
from {
|
|
28
|
+
transform: rotate3d(0, 0, 1, -200deg);
|
|
29
|
+
opacity: 0;
|
|
30
|
+
}
|
|
31
|
+
to {
|
|
32
|
+
transform: translate3d(0, 0, 0);
|
|
33
|
+
opacity: 1;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@keyframes rotate-in-down-start {
|
|
38
|
+
from {
|
|
39
|
+
transform: rotate3d(0, 0, 1, -45deg);
|
|
40
|
+
opacity: 0;
|
|
41
|
+
}
|
|
42
|
+
to {
|
|
43
|
+
transform: translate3d(0, 0, 0);
|
|
44
|
+
opacity: 1;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@keyframes rotate-in-down-end {
|
|
49
|
+
from {
|
|
50
|
+
transform: rotate3d(0, 0, 1, 45deg);
|
|
51
|
+
opacity: 0;
|
|
52
|
+
}
|
|
53
|
+
to {
|
|
54
|
+
transform: translate3d(0, 0, 0);
|
|
55
|
+
opacity: 1;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@keyframes rotate-in-up-start {
|
|
60
|
+
from {
|
|
61
|
+
transform: rotate3d(0, 0, 1, 45deg);
|
|
62
|
+
opacity: 0;
|
|
63
|
+
}
|
|
64
|
+
to {
|
|
65
|
+
transform: translate3d(0, 0, 0);
|
|
66
|
+
opacity: 1;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@keyframes rotate-in-up-end {
|
|
71
|
+
from {
|
|
72
|
+
transform: rotate3d(0, 0, 1, -45deg);
|
|
73
|
+
opacity: 0;
|
|
74
|
+
}
|
|
75
|
+
to {
|
|
76
|
+
transform: translate3d(0, 0, 0);
|
|
77
|
+
opacity: 1;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@utility animate-rotate-in {
|
|
83
|
+
transform-origin: center;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@utility animate-rotate-in-down-start {
|
|
87
|
+
transform-origin: left bottom;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@utility animate-rotate-in-down-end {
|
|
91
|
+
transform-origin: right bottom;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
@utility animate-rotate-in-up-start {
|
|
95
|
+
transform-origin: left bottom;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
@utility animate-rotate-in-up-end {
|
|
99
|
+
transform-origin: right bottom;
|
|
100
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
@theme default {
|
|
2
|
+
--animate-rotate-out: rotate-out var(--default-animation-duration, 1s)
|
|
3
|
+
var(--default-animation-timing-function, ease-out)
|
|
4
|
+
var(--default-animation-delay, 0s) both;
|
|
5
|
+
|
|
6
|
+
--animate-rotate-out-down-start: rotate-out-down-start
|
|
7
|
+
var(--default-animation-duration, 1s)
|
|
8
|
+
var(--default-animation-timing-function, ease-out)
|
|
9
|
+
var(--default-animation-delay, 0s) both;
|
|
10
|
+
|
|
11
|
+
--animate-rotate-out-down-end: rotate-out-down-end
|
|
12
|
+
var(--default-animation-duration, 1s)
|
|
13
|
+
var(--default-animation-timing-function, ease-out)
|
|
14
|
+
var(--default-animation-delay, 0s) both;
|
|
15
|
+
|
|
16
|
+
--animate-rotate-out-up-start: rotate-out-up-start
|
|
17
|
+
var(--default-animation-duration, 1s)
|
|
18
|
+
var(--default-animation-timing-function, ease-out)
|
|
19
|
+
var(--default-animation-delay, 0s) both;
|
|
20
|
+
|
|
21
|
+
--animate-rotate-out-up-end: rotate-out-up-end
|
|
22
|
+
var(--default-animation-duration, 1s)
|
|
23
|
+
var(--default-animation-timing-function, ease-out)
|
|
24
|
+
var(--default-animation-delay, 0s) both;
|
|
25
|
+
|
|
26
|
+
@keyframes rotate-out {
|
|
27
|
+
from {
|
|
28
|
+
opacity: 1;
|
|
29
|
+
}
|
|
30
|
+
to {
|
|
31
|
+
transform: rotate3d(0, 0, 1, 200deg);
|
|
32
|
+
opacity: 0;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@keyframes rotate-out-down-start {
|
|
37
|
+
from {
|
|
38
|
+
opacity: 1;
|
|
39
|
+
}
|
|
40
|
+
to {
|
|
41
|
+
transform: rotate3d(0, 0, 1, 45deg);
|
|
42
|
+
opacity: 0;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@keyframes rotate-out-down-end {
|
|
47
|
+
from {
|
|
48
|
+
opacity: 1;
|
|
49
|
+
}
|
|
50
|
+
to {
|
|
51
|
+
transform: rotate3d(0, 0, 1, -45deg);
|
|
52
|
+
opacity: 0;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@keyframes rotate-out-up-start {
|
|
57
|
+
from {
|
|
58
|
+
opacity: 1;
|
|
59
|
+
}
|
|
60
|
+
to {
|
|
61
|
+
transform: rotate3d(0, 0, 1, -45deg);
|
|
62
|
+
opacity: 0;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@keyframes rotate-out-up-end {
|
|
67
|
+
from {
|
|
68
|
+
opacity: 1;
|
|
69
|
+
}
|
|
70
|
+
to {
|
|
71
|
+
transform: rotate3d(0, 0, 1, 45deg);
|
|
72
|
+
opacity: 0;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
@utility animate-rotate-out {
|
|
78
|
+
transform-origin: center;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
@utility animate-rotate-out-down-start {
|
|
82
|
+
transform-origin: left bottom;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
@utility animate-rotate-out-down-end {
|
|
86
|
+
transform-origin: right bottom;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@utility animate-rotate-out-up-start {
|
|
90
|
+
transform-origin: left bottom;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
@utility animate-rotate-out-up-end {
|
|
94
|
+
transform-origin: right bottom;
|
|
95
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
@theme default {
|
|
2
|
+
--animate-slide-in-down: slide-in-down var(--default-animation-duration, 0.6s)
|
|
3
|
+
var(--default-animation-timing-function, ease-in-out)
|
|
4
|
+
var(--default-animation-delay, 0s) both;
|
|
5
|
+
|
|
6
|
+
--animate-slide-in-up: slide-in-up var(--default-animation-duration, 0.6s)
|
|
7
|
+
var(--default-animation-timing-function, ease-in-out)
|
|
8
|
+
var(--default-animation-delay, 0s) both;
|
|
9
|
+
|
|
10
|
+
--animate-slide-in-start: slide-in-start
|
|
11
|
+
var(--default-animation-duration, 0.6s)
|
|
12
|
+
var(--default-animation-timing-function, ease-in-out)
|
|
13
|
+
var(--default-animation-delay, 0s) both;
|
|
14
|
+
|
|
15
|
+
--animate-slide-in-end: slide-in-end var(--default-animation-duration, 0.6s)
|
|
16
|
+
var(--default-animation-timing-function, ease-in-out)
|
|
17
|
+
var(--default-animation-delay, 0s) both;
|
|
18
|
+
|
|
19
|
+
@keyframes slide-in-down {
|
|
20
|
+
from {
|
|
21
|
+
transform: translateY(-20px);
|
|
22
|
+
visibility: hidden;
|
|
23
|
+
opacity: 0;
|
|
24
|
+
}
|
|
25
|
+
to {
|
|
26
|
+
transform: translateY(0);
|
|
27
|
+
opacity: 1;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@keyframes slide-in-up {
|
|
32
|
+
from {
|
|
33
|
+
transform: translateY(20px);
|
|
34
|
+
visibility: hidden;
|
|
35
|
+
opacity: 0;
|
|
36
|
+
}
|
|
37
|
+
to {
|
|
38
|
+
transform: translateY(0);
|
|
39
|
+
opacity: 1;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@keyframes slide-in-start {
|
|
44
|
+
from {
|
|
45
|
+
transform: translateX(-20px);
|
|
46
|
+
visibility: hidden;
|
|
47
|
+
opacity: 0;
|
|
48
|
+
}
|
|
49
|
+
to {
|
|
50
|
+
transform: translateX(0);
|
|
51
|
+
opacity: 1;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@keyframes slide-in-end {
|
|
56
|
+
from {
|
|
57
|
+
transform: translateX(20px);
|
|
58
|
+
visibility: hidden;
|
|
59
|
+
opacity: 0;
|
|
60
|
+
}
|
|
61
|
+
to {
|
|
62
|
+
transform: translateX(0);
|
|
63
|
+
opacity: 1;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
@theme default {
|
|
2
|
+
--animate-slide-out-down: slide-out-down
|
|
3
|
+
var(--default-animation-duration, 0.6s)
|
|
4
|
+
var(--default-animation-timing-function, ease-out)
|
|
5
|
+
var(--default-animation-delay, 0s) both;
|
|
6
|
+
|
|
7
|
+
--animate-slide-out-up: slide-out-up var(--default-animation-duration, 0.6s)
|
|
8
|
+
var(--default-animation-timing-function, ease-out)
|
|
9
|
+
var(--default-animation-delay, 0s) both;
|
|
10
|
+
|
|
11
|
+
--animate-slide-out-start: slide-out-start
|
|
12
|
+
var(--default-animation-duration, 0.6s)
|
|
13
|
+
var(--default-animation-timing-function, ease-out)
|
|
14
|
+
var(--default-animation-delay, 0s) both;
|
|
15
|
+
|
|
16
|
+
--animate-slide-out-end: slide-out-end var(--default-animation-duration, 0.6s)
|
|
17
|
+
var(--default-animation-timing-function, ease-out)
|
|
18
|
+
var(--default-animation-delay, 0s) both;
|
|
19
|
+
|
|
20
|
+
@keyframes slide-out-down {
|
|
21
|
+
from {
|
|
22
|
+
transform: translateY(0);
|
|
23
|
+
opacity: 1;
|
|
24
|
+
}
|
|
25
|
+
to {
|
|
26
|
+
transform: translateY(20px);
|
|
27
|
+
visibility: hidden;
|
|
28
|
+
opacity: 0;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@keyframes slide-out-up {
|
|
33
|
+
from {
|
|
34
|
+
transform: translateY(0);
|
|
35
|
+
opacity: 1;
|
|
36
|
+
}
|
|
37
|
+
to {
|
|
38
|
+
transform: translateY(-20px);
|
|
39
|
+
visibility: hidden;
|
|
40
|
+
opacity: 0;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@keyframes slide-out-start {
|
|
45
|
+
from {
|
|
46
|
+
transform: translateX(0);
|
|
47
|
+
opacity: 1;
|
|
48
|
+
}
|
|
49
|
+
to {
|
|
50
|
+
transform: translateX(-20px);
|
|
51
|
+
visibility: hidden;
|
|
52
|
+
opacity: 0;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@keyframes slide-out-end {
|
|
57
|
+
from {
|
|
58
|
+
transform: translateX(0);
|
|
59
|
+
opacity: 1;
|
|
60
|
+
}
|
|
61
|
+
to {
|
|
62
|
+
transform: translateX(20px);
|
|
63
|
+
visibility: hidden;
|
|
64
|
+
opacity: 0;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
@theme default {
|
|
2
|
+
--animate-hinge: hinge var(--default-animation-duration, 2s)
|
|
3
|
+
var(--default-animation-timing-function, ease-in-out)
|
|
4
|
+
var(--default-animation-delay, 0s) both;
|
|
5
|
+
|
|
6
|
+
--animate-jack-in: jack-in var(--default-animation-duration, 2s)
|
|
7
|
+
var(--default-animation-timing-function, ease-in)
|
|
8
|
+
var(--default-animation-delay, 0s) both;
|
|
9
|
+
|
|
10
|
+
--animate-jack-out: jack-out var(--default-animation-duration, 2s)
|
|
11
|
+
var(--default-animation-timing-function, ease-out)
|
|
12
|
+
var(--default-animation-delay, 0s) both;
|
|
13
|
+
|
|
14
|
+
--animate-roll-in: roll-in var(--default-animation-duration, 2s)
|
|
15
|
+
var(--default-animation-timing-function, ease-in)
|
|
16
|
+
var(--default-animation-delay, 0s) both;
|
|
17
|
+
|
|
18
|
+
--animate-roll-out: roll-out var(--default-animation-duration, 2s)
|
|
19
|
+
var(--default-animation-timing-function, ease-out)
|
|
20
|
+
var(--default-animation-delay, 0s) both;
|
|
21
|
+
|
|
22
|
+
--animate-particle: particle var(--default-animation-duration, 3s)
|
|
23
|
+
var(--default-animation-timing-function, ease-in-out)
|
|
24
|
+
var(--default-animation-delay, 0s) infinite;
|
|
25
|
+
|
|
26
|
+
@keyframes hinge {
|
|
27
|
+
20%,
|
|
28
|
+
60% {
|
|
29
|
+
transform: rotate3d(0, 0, 1, 80deg);
|
|
30
|
+
}
|
|
31
|
+
40%,
|
|
32
|
+
80% {
|
|
33
|
+
transform: rotate3d(0, 0, 1, 60deg);
|
|
34
|
+
opacity: 1;
|
|
35
|
+
}
|
|
36
|
+
to {
|
|
37
|
+
transform: translate3d(0, 700px, 0);
|
|
38
|
+
opacity: 0;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@keyframes jack-in {
|
|
43
|
+
from {
|
|
44
|
+
opacity: 0;
|
|
45
|
+
transform: scale(0.1) rotate(30deg);
|
|
46
|
+
}
|
|
47
|
+
50% {
|
|
48
|
+
transform: rotate(-10deg);
|
|
49
|
+
}
|
|
50
|
+
70% {
|
|
51
|
+
transform: rotate(3deg);
|
|
52
|
+
}
|
|
53
|
+
to {
|
|
54
|
+
opacity: 1;
|
|
55
|
+
transform: scale(1);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@keyframes jack-out {
|
|
60
|
+
from {
|
|
61
|
+
opacity: 1;
|
|
62
|
+
transform: scale(1);
|
|
63
|
+
}
|
|
64
|
+
30% {
|
|
65
|
+
transform: rotate(-3deg);
|
|
66
|
+
}
|
|
67
|
+
50% {
|
|
68
|
+
transform: rotate(10deg);
|
|
69
|
+
}
|
|
70
|
+
to {
|
|
71
|
+
opacity: 0;
|
|
72
|
+
transform: scale(0.1) rotate(30deg);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
@keyframes roll-in {
|
|
77
|
+
from {
|
|
78
|
+
opacity: 0;
|
|
79
|
+
transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
|
|
80
|
+
}
|
|
81
|
+
to {
|
|
82
|
+
opacity: 1;
|
|
83
|
+
transform: translate3d(0, 0, 0);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@keyframes roll-out {
|
|
88
|
+
from {
|
|
89
|
+
opacity: 1;
|
|
90
|
+
}
|
|
91
|
+
to {
|
|
92
|
+
opacity: 0;
|
|
93
|
+
transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
@keyframes particle {
|
|
98
|
+
0% {
|
|
99
|
+
opacity: 0;
|
|
100
|
+
transform: translateY(20px) scale(0);
|
|
101
|
+
}
|
|
102
|
+
50% {
|
|
103
|
+
opacity: 1;
|
|
104
|
+
transform: translateY(-50px) scale(1);
|
|
105
|
+
}
|
|
106
|
+
100% {
|
|
107
|
+
opacity: 0;
|
|
108
|
+
transform: translateY(-100px) scale(0);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
@utility animate-hinge {
|
|
114
|
+
transform-origin: top left;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
@utility animate-jack-in {
|
|
118
|
+
transform-origin: center bottom;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
@utility animate-jack-out {
|
|
122
|
+
transform-origin: center bottom;
|
|
123
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
@theme default {
|
|
2
|
+
--animate-zoom-in: zoom-in var(--default-animation-duration, 1s)
|
|
3
|
+
var(--default-animation-timing-function, ease-in)
|
|
4
|
+
var(--default-animation-delay, 0s) both;
|
|
5
|
+
|
|
6
|
+
--animate-zoom-in-down: zoom-in-down var(--default-animation-duration, 1s)
|
|
7
|
+
var(--default-animation-timing-function, ease-in)
|
|
8
|
+
var(--default-animation-delay, 0s) both;
|
|
9
|
+
|
|
10
|
+
--animate-zoom-in-up: zoom-in-up var(--default-animation-duration, 1s)
|
|
11
|
+
var(--default-animation-timing-function, ease-in)
|
|
12
|
+
var(--default-animation-delay, 0s) both;
|
|
13
|
+
|
|
14
|
+
--animate-zoom-in-start: zoom-in-start var(--default-animation-duration, 1s)
|
|
15
|
+
var(--default-animation-timing-function, ease-in)
|
|
16
|
+
var(--default-animation-delay, 0s) both;
|
|
17
|
+
|
|
18
|
+
--animate-zoom-in-end: zoom-in-end var(--default-animation-duration, 1s)
|
|
19
|
+
var(--default-animation-timing-function, ease-in)
|
|
20
|
+
var(--default-animation-delay, 0s) both;
|
|
21
|
+
|
|
22
|
+
@keyframes zoom-in {
|
|
23
|
+
from {
|
|
24
|
+
opacity: 0;
|
|
25
|
+
transform: scale3d(0.3, 0.3, 0.3);
|
|
26
|
+
}
|
|
27
|
+
50% {
|
|
28
|
+
opacity: 1;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@keyframes zoom-in-down {
|
|
33
|
+
from {
|
|
34
|
+
opacity: 0;
|
|
35
|
+
transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
|
|
36
|
+
}
|
|
37
|
+
60% {
|
|
38
|
+
opacity: 1;
|
|
39
|
+
transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@keyframes zoom-in-up {
|
|
44
|
+
from {
|
|
45
|
+
opacity: 0;
|
|
46
|
+
transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
|
|
47
|
+
}
|
|
48
|
+
60% {
|
|
49
|
+
opacity: 1;
|
|
50
|
+
transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@keyframes zoom-in-start {
|
|
55
|
+
from {
|
|
56
|
+
opacity: 0;
|
|
57
|
+
transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0);
|
|
58
|
+
}
|
|
59
|
+
60% {
|
|
60
|
+
opacity: 1;
|
|
61
|
+
transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@keyframes zoom-in-end {
|
|
66
|
+
from {
|
|
67
|
+
opacity: 0;
|
|
68
|
+
transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0);
|
|
69
|
+
}
|
|
70
|
+
60% {
|
|
71
|
+
opacity: 1;
|
|
72
|
+
transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|