HTML and CSS Reference
In-Depth Information
Name
animation-name
Values:
none
| IDENT [,
none
| IDENT ]*
Initial value:
none
Applies to:
Block-level and inline-level elements
Inherited:
No
Computed value:
Same as declared value
Description:
Defines the declared name(s) of CSS animation(s). Each IDENT refers to a CSS animation
keyframe at-rule. If an IDENT has not been declared or the keyword
none
is supplied, the
animation is not run regardless of the values of any other animation properties. For example,
given
animation-name: 'bounce', none, 'jumper';
and that the animation name
jumper
has not been defined, the first animation will run but the second and third will not.
Examples:
html {animation-name: 'turn', 'slide', none;}
h2 {animation-name: 'flip';}