Style transitionDuration Property
Style transitionDuration Property
The transitionDuration property is used to either set or returns how many milliseconds or seconds a transition effect takes to complete.
Syntax:-
Its syntax is:- object.style.transitionDuration OR object.style.transitionDuration = time | initial | inherit
Return:-
Its return is:- string having transition-duration property of an element
Further Explanation:-
Value | Description |
---|---|
time | Specifies how many seconds or milliseconds a transition effect takes to complete. |
initial | Sets property to its default value. |
inherit | Inherits property from its parent element. |