-
Notifications
You must be signed in to change notification settings - Fork 78
/
Copy pathcss-animations-2.json
377 lines (377 loc) · 16.9 KB
/
css-animations-2.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
{
"spec": {
"title": "CSS Animations Level 2",
"url": "https://drafts.csswg.org/css-animations-2/"
},
"properties": [
{
"name": "animation-duration",
"href": "https://drafts.csswg.org/css-animations-2/#propdef-animation-duration",
"value": "[ auto | <time [0s,∞]> ]#",
"initial": "auto",
"appliesTo": "all elements",
"inherited": "no",
"percentages": "N/A",
"computedValue": "list, each item either a time or the keyword auto",
"canonicalOrder": "per grammar",
"animationType": "not animatable",
"values": [
{
"name": "auto",
"prose": "For time-driven animations, equivalent to 0s. For scroll-driven animations, equivalent to the duration necessary to fill the timeline in consideration of animation-range, animation-delay, and animation-iteration-count. See Scroll-driven Animations § 4.1 Finite Timeline Calculations.",
"href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-duration-auto",
"type": "value",
"value": "auto"
},
{
"name": "<time [0s,∞]>",
"prose": "For time-driven animations, specifies the length of time that an animation takes to complete one cycle. A negative <time> is invalid. For scroll-driven animations, treated as auto.",
"href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-duration-time-0s",
"type": "value",
"value": "<time [0s,∞]>"
}
],
"styleDeclaration": [
"animation-duration",
"animationDuration"
]
},
{
"name": "animation-composition",
"href": "https://drafts.csswg.org/css-animations-2/#propdef-animation-composition",
"value": "<single-animation-composition>#",
"initial": "replace",
"appliesTo": "all elements",
"inherited": "no",
"percentages": "N/A",
"computedValue": "list, each item a keyword as specified",
"canonicalOrder": "per grammar",
"animationType": "not animatable",
"styleDeclaration": [
"animation-composition",
"animationComposition"
]
},
{
"name": "animation-timeline",
"href": "https://drafts.csswg.org/css-animations-2/#propdef-animation-timeline",
"value": "<single-animation-timeline>#",
"initial": "auto",
"appliesTo": "all elements",
"inherited": "no",
"percentages": "N/A",
"computedValue": "list, each item either the keyword none, the keyword auto, a case-sensitive css identifier, a computed scroll() function, or a computed view() function",
"canonicalOrder": "per grammar",
"animationType": "not animatable",
"styleDeclaration": [
"animation-timeline",
"animationTimeline"
]
},
{
"name": "animation-trigger-type",
"href": "https://drafts.csswg.org/css-animations-2/#propdef-animation-trigger-type",
"value": "<single-animation-trigger-type>#",
"initial": "once",
"appliesTo": "all elements",
"inherited": "no",
"percentages": "N/A",
"computedValue": "list, each item a keyword as specified",
"canonicalOrder": "per grammar",
"animationType": "not animatable",
"values": [
{
"name": "once",
"prose": "The animation is triggered and played once and only once.",
"href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-trigger-type-once",
"type": "value",
"value": "once"
},
{
"name": "repeat",
"prose": "The animation is played from the beginning each time it is triggered. When the trigger’s active interval is exited the animation is reset.",
"href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-trigger-type-repeat",
"type": "value",
"value": "repeat"
},
{
"name": "alternate",
"prose": "The animation is played forwards, according to its playback direction, each time it is triggered. When the trigger’s active interval is exited the animation is reversed.",
"href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-trigger-type-alternate",
"type": "value",
"value": "alternate"
},
{
"name": "state",
"prose": "The animation is triggered and played once. When the trigger’s active interval is exited the animation is paused. When the trigger’s active interval is re-entered the animation is resumed.",
"href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-trigger-type-state",
"type": "value",
"value": "state"
}
],
"styleDeclaration": [
"animation-trigger-type",
"animationTriggerType"
]
},
{
"name": "animation-trigger-timeline",
"href": "https://drafts.csswg.org/css-animations-2/#propdef-animation-trigger-timeline",
"value": "<single-animation-timeline>#",
"initial": "auto",
"appliesTo": "all elements",
"inherited": "no",
"percentages": "N/A",
"computedValue": "list, each item either the keyword none, the keyword auto, a case-sensitive css identifier, a computed scroll() function, or a computed view() function",
"canonicalOrder": "per grammar",
"animationType": "not animatable",
"styleDeclaration": [
"animation-trigger-timeline",
"animationTriggerTimeline"
]
},
{
"name": "animation-trigger-range",
"href": "https://drafts.csswg.org/css-animations-2/#propdef-animation-trigger-range",
"value": "[ <'animation-trigger-range-start'> <'animation-trigger-range-end'>? ]#",
"initial": "see individual properties",
"appliesTo": "see individual properties",
"inherited": "see individual properties",
"percentages": "see individual properties",
"computedValue": "see individual properties",
"animationType": "see individual properties",
"canonicalOrder": "per grammar",
"styleDeclaration": [
"animation-trigger-range",
"animationTriggerRange"
]
},
{
"name": "animation-trigger-range-start",
"href": "https://drafts.csswg.org/css-animations-2/#propdef-animation-trigger-range-start",
"value": "[ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#",
"initial": "normal",
"appliesTo": "all elements",
"inherited": "no",
"percentages": "relative to the specified named timeline range if one was specified, else to the entire timeline",
"computedValue": "list, each item either the keyword normal or a timeline range and progress percentage",
"canonicalOrder": "per grammar",
"animationType": "not animatable",
"styleDeclaration": [
"animation-trigger-range-start",
"animationTriggerRangeStart"
]
},
{
"name": "animation-trigger-range-end",
"href": "https://drafts.csswg.org/css-animations-2/#propdef-animation-trigger-range-end",
"value": "[ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#",
"initial": "normal",
"appliesTo": "all elements",
"inherited": "no",
"percentages": "relative to the specified named timeline range if one was specified, else to the entire timeline",
"computedValue": "list, each item either the keyword normal or a timeline range and progress percentage",
"canonicalOrder": "per grammar",
"animationType": "not animatable",
"styleDeclaration": [
"animation-trigger-range-end",
"animationTriggerRangeEnd"
]
},
{
"name": "animation-trigger-exit-range",
"href": "https://drafts.csswg.org/css-animations-2/#propdef-animation-trigger-exit-range",
"value": "[ <'animation-trigger-exit-range-start'> <'animation-trigger-exit-range-end'>? ]#",
"initial": "see individual properties",
"appliesTo": "see individual properties",
"inherited": "see individual properties",
"percentages": "see individual properties",
"computedValue": "see individual properties",
"animationType": "see individual properties",
"canonicalOrder": "per grammar",
"styleDeclaration": [
"animation-trigger-exit-range",
"animationTriggerExitRange"
]
},
{
"name": "animation-trigger-exit-range-start",
"href": "https://drafts.csswg.org/css-animations-2/#propdef-animation-trigger-exit-range-start",
"value": "[ auto | normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#",
"initial": "auto",
"appliesTo": "all elements",
"inherited": "no",
"percentages": "relative to the specified named timeline range if one was specified, else to the entire timeline",
"computedValue": "list, each item either the keyword normal or a timeline range and progress percentage",
"canonicalOrder": "per grammar",
"animationType": "not animatable",
"values": [
{
"name": "auto",
"prose": "The start of the trigger’s exit range is equal to the start of its default range.",
"href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-trigger-exit-range-start-auto",
"type": "value",
"value": "auto"
},
{
"name": "normal",
"prose": "The start of the trigger’s exit range is the start of its associated timeline; the start of the trigger’s active interval is determined as normal.",
"href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-trigger-exit-range-start-normal",
"type": "value",
"value": "normal"
},
{
"name": "<length-percentage>",
"prose": "The exit range starts at the specified point on the timeline measuring from the start of the timeline.",
"href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-trigger-exit-range-start-length-percentage",
"type": "value",
"value": "<length-percentage>"
},
{
"name": "<timeline-range-name> <length-percentage>?",
"prose": "The exit range starts at the specified point on the timeline measuring from the start of the specified named timeline range. If the <length-percentage> is omitted, it defaults to 0%.",
"href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-trigger-exit-range-start-timeline-range-name-length-percentage",
"type": "value",
"value": "<timeline-range-name> <length-percentage>?"
}
],
"styleDeclaration": [
"animation-trigger-exit-range-start",
"animationTriggerExitRangeStart"
]
},
{
"name": "animation-trigger-exit-range-end",
"href": "https://drafts.csswg.org/css-animations-2/#propdef-animation-trigger-exit-range-end",
"value": "[ auto | normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#",
"initial": "auto",
"appliesTo": "all elements",
"inherited": "no",
"percentages": "relative to the specified named timeline range if one was specified, else to the entire timeline",
"computedValue": "list, each item either the keyword normal or a timeline range and progress percentage",
"canonicalOrder": "per grammar",
"animationType": "not animatable",
"values": [
{
"name": "auto",
"prose": "The end of the trigger’s exit range is equal to the end of its default range.",
"href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-trigger-exit-range-end-auto",
"type": "value",
"value": "auto"
},
{
"name": "normal",
"prose": "The end of the trigger’s exit range is the end of its associated timeline; the end of the trigger’s active interval is determined as normal.",
"href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-trigger-exit-range-end-normal",
"type": "value",
"value": "normal"
},
{
"name": "<length-percentage>",
"prose": "The exit range ends at the specified point on the timeline measuring from the start of the timeline.",
"href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-trigger-exit-range-end-length-percentage",
"type": "value",
"value": "<length-percentage>"
},
{
"name": "<timeline-range-name> <length-percentage>?",
"prose": "The exit range ends at the specified point on the timeline measuring from the start of the specified named timeline range. If the <length-percentage> is omitted, it defaults to 100%.",
"href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-trigger-exit-range-end-timeline-range-name-length-percentage",
"type": "value",
"value": "<timeline-range-name> <length-percentage>?"
}
],
"styleDeclaration": [
"animation-trigger-exit-range-end",
"animationTriggerExitRangeEnd"
]
},
{
"name": "animation-trigger",
"href": "https://drafts.csswg.org/css-animations-2/#propdef-animation-trigger",
"value": "<single-animation-trigger>#",
"initial": "see individual properties",
"appliesTo": "all elements",
"inherited": "no",
"percentages": "N/A",
"computedValue": "see individual properties",
"canonicalOrder": "per grammar",
"animationType": "not animatable",
"styleDeclaration": [
"animation-trigger",
"animationTrigger"
]
}
],
"atrules": [],
"selectors": [],
"values": [
{
"name": "<single-animation-composition>",
"value": "replace | add | accumulate",
"href": "https://drafts.csswg.org/css-animations-2/#typedef-single-animation-composition",
"type": "type"
},
{
"name": "<single-animation-timeline>",
"href": "https://drafts.csswg.org/css-animations-2/#typedef-single-animation-timeline",
"type": "type",
"value": "auto | none | <dashed-ident> | <scroll()> | <view()>",
"values": [
{
"name": "auto",
"prose": "The animation’s timeline is a DocumentTimeline, more specifically the default document timeline.",
"href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-timeline-auto",
"type": "value",
"value": "auto"
},
{
"name": "none",
"prose": "The animation is not associated with a timeline.",
"href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-timeline-none",
"type": "value",
"value": "none"
},
{
"name": "<dashed-ident>",
"prose": "If a named scroll progress timeline or view progress timeline is in scope on this element, use the referenced timeline as defined in Scroll-driven Animations § Declaring a Named Timeline’s Scope: the timeline-scope property. Otherwise the animation is not associated with a timeline.",
"href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-timeline-dashed-ident",
"type": "value",
"value": "<dashed-ident>"
},
{
"name": "<scroll()>",
"prose": "Use the scroll progress timeline indicated by the given scroll() function. See Scroll-driven Animations § 2.2.1 The scroll() notation.",
"href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-timeline-scroll",
"type": "value",
"value": "<scroll()>"
},
{
"name": "<view()>",
"prose": "Use the view progress timeline indicated by the given view() function. See Scroll-driven Animations § 3.3.1 The view() notation.",
"href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-timeline-view",
"type": "value",
"value": "<view()>"
}
]
},
{
"name": "<single-animation>",
"value": "<'animation-duration'> || <easing-function> || <'animation-delay'> || <single-animation-iteration-count> || <single-animation-direction> || <single-animation-fill-mode> || <single-animation-play-state> || [ none | <keyframes-name> ] || <single-animation-timeline>",
"href": "https://drafts.csswg.org/css-animations-2/#typedef-single-animation",
"type": "type"
},
{
"name": "<single-animation-trigger-type>",
"value": "once | repeat | alternate | state",
"href": "https://drafts.csswg.org/css-animations-2/#typedef-single-animation-trigger-type",
"type": "type"
},
{
"name": "<single-animation-trigger>",
"href": "https://drafts.csswg.org/css-animations-2/#typedef-single-animation-trigger",
"type": "type",
"value": "<single-animation-trigger-type> || [ none | auto | [ [ <dashed-ident> | <scroll()> | <view()> ] [ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]{0,4} ] ]"
}
]
}