@@ -440,7 +440,19 @@ Timing functions for keyframes</h3>
440
440
Declaring Animations</h2>
441
441
442
442
CSS Animations are defined by binding keyframes to an element
443
- using the 'animation' properties.
443
+ using the 'animation-*' properties.
444
+ These list-valued properties,
445
+ which are all [=longhands=] of the 'animation' [=shorthand=] ,
446
+ form a [=coordinating list property group=]
447
+ with 'animation-name' as the [=coordinating list base property=]
448
+ and each item in the [=coordinated value list=]
449
+ defining the properties of a single animation effect.
450
+
451
+ Note: This is analogous to the behavior of the 'background-*' properties,
452
+ with 'background-image' analogous to 'animation-name' .
453
+
454
+ See [[css-values-4#linked-properties]]
455
+ for how the individual 'animation-*' property values coordinate.
444
456
445
457
<h3 id="animation-name">
446
458
The 'animation-name' property</h3>
@@ -452,17 +464,6 @@ The 'animation-name' property</h3>
452
464
used to override any animations coming from the cascade. If multiple animations are attempting to
453
465
modify the same property, then the animation closest to the end of the list of names wins.
454
466
455
- Each animation listed by name should have a corresponding value for the other animation properties
456
- listed below. If the lists of values for the other animation properties do not have the same length,
457
- the length of the 'animation-name' list determines the number of items in each list examined when
458
- starting animations. The lists are matched up from the first value: excess values at the end are not
459
- used. If one of the other properties doesn't have enough comma-separated values to match the number of
460
- values of 'animation-name' , the UA must calculate its used value by repeating the list of values until
461
- there are enough. This truncation or repetition does not affect the computed value.
462
-
463
- Note: This is analogous to the behavior of the 'background-*' properties, with
464
- 'background-image' analogous to 'animation-name' .
465
-
466
467
<pre class='propdef'>
467
468
Name : animation-name
468
469
Value : [ none | <<keyframes-name>> ]#
0 commit comments