Style animationDuration Property
Style animationDuration Property
The animationDuration property is used to define how many milliseconds or seconds an animation would take to complete one cycle.
Syntax:-
Its syntax is:- object.style.animationDuration OR object.style.animationDuration = time|initial|inherit
Return:-
Its return is:- string having animation-duration property of an element
Further Explanation:-
Value | Description |
---|---|
time | Specifies the length an animation takes to finish. |
initial | Sets property to its default value. |
inherit | Inherits property from its parent element. |