/
anim.mcss.json
85 lines (85 loc) · 2.12 KB
/
anim.mcss.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"decls": [
["@keyframes", "fadein", { "opacity": 0 }, { "opacity": 1 }],
["@keyframes", "fadeout", { "opacity": 1 }, { "opacity": 0 }],
["@keyframes", "spin", { "rotate": 0 }, { "rotate": "1turn" }],
[
"@keyframes",
"shrink",
{ "height": "var(--shrink-size)" },
{ "height": 0 }
]
],
"specs": [
{
"user": "animations / transitions",
"name": "fade<vid><k>",
"key": "i+1",
"props": { "animation": "fade<vid> <v> ease-in-out forwards" },
"values": [0.25, 0.5, 1],
"unit": "second",
"vars": ["in", "out"]
},
{
"user": "animations / transitions",
"name": "bg-anim<k>",
"key": "i+1",
"props": { "transition": "<v> background-color ease-in-out" },
"values": [0.15, 0.25, 0.5],
"unit": "second"
},
{
"user": "animations / transitions",
"name": "spin<k>",
"key": "i+1",
"props": { "animation": "spin <v> linear infinite" },
"values": [0.75, 1.5, 2.5],
"unit": "second"
},
{
"user": "animations / transitions",
"name": "shrink<k>",
"key": "i+1",
"props": { "animation": "shrink <v> ease-out forwards" },
"values": [0.25, 0.5, 1],
"unit": "second"
},
{
"user": "animations / transitions",
"name": "anim-<v>",
"props": "animation-direction",
"values": ["normal", "reverse", "alternate", "alternate-reverse"]
},
{
"user": "animations / transitions",
"name": "anim-delay-<v>",
"props": "animation-delay",
"values": [0, 1, 2, 3, 4, 5],
"unit": "second"
},
{
"user": "animations / transitions",
"name": "anim-<k>",
"props": "animation-play-state",
"values": { "pause": "paused", "play": "running" }
},
{
"user": "animations / transitions",
"name": "anim-<v>",
"props": "animation-timing-function",
"values": ["ease", "ease-in", "ease-out", "ease-in-out", "linear"]
},
{
"user": "animations / transitions",
"name": "anim-steps-<v>",
"props": { "animation-timing-function": "steps(<v>)" },
"values": [2, 3, 4, 5, 6, 8, 10]
},
{
"user": "animations / transitions",
"name": "anim-iter-<v>",
"props": "animation-iteration-count",
"values": [1, 2, 3, 4, 5, "infinite"]
}
]
}