ExampleSpecify a name for the @keyframes animation:
Try it yourself » |
The animation-name property is not supported in any browsers.
Safari and Chrome support an alternative, the -webkit-animation-name property.
The animation-name property specifies a name for the @keyframes animation.
Default value: | none |
---|---|
Inherited: | no |
Version: | CSS3 |
JavaScript syntax: | object.style.animationName="mymove" |
animation-name: keyframename|none; |
Value | Description |
---|---|
keyframename | Specifies the name of the keyframe you want to bind to the selector |
none | Specifies that there will be no animation (can be used to override animations coming from the cascade) |