Style animationName Property
Style animationName Property
The animationName property is used to either set or return the name for the @keyframes animation.
Syntax:-
Its syntax is:- object.style.animationName OR object.style.animationName = none|keyframename|initial|inherit
Return:-
Its return is:- string having animation-name property of an element
Further Explanation:-
Value | Description |
---|---|
none | Specifies no animation. |
keyframename | Specifies the name of the keyframe we want to bind to the selector |
initial | Sets property to its default value. |
inherit | Inherits property from its parent element. |