CSS animation-name Property
Example
Specify a name for the @keyframes animation:
div {
animation-name: mymove;
}
Try it Yourself »
Definition and Usage
The animation-name
property specifies a name for the
@keyframes animation.
Default value: | none |
---|---|
Inherited: | no |
Animatable: | no. Read about animatable |
Version: | CSS3 |
JavaScript syntax: | object.style.animationName="myNEWmove" Try it |
Browser Support
The numbers in the table specify the first browser version that fully supports the property.
Property | |||||
---|---|---|---|---|---|
animation-name | 43 | 10 | 16 | 9 | 30 |
CSS Syntax
animation-name: keyframename|none|initial|inherit;
Property Values
Value | Description | |
---|---|---|
keyframename | Specifies the name of the keyframe you want to bind to the selector | |
none | Default value. Specifies that there will be no animation (can be used to override animations coming from the cascade) | |
initial | Sets this property to its default value. Read about initial | |
inherit | Inherits this property from its parent element. Read about inherit |
Related Pages
CSS tutorial: CSS Animations
HTML DOM reference: animationName property