We use cookies to improve your experience. Learn more in our Privacy policy.
transition-duration
The transition-duration CSS property sets the length of time a transition animation should take to complete. By default, the value is 0s, meaning that no animation will occur.
Example
Initial value | 0s |
Applies to | all elements, ::before and ::after pseudo-elements |
Syntax
transition-duration: 2000ms;
Values
Is a
Browser support
transition-duration | chrome26 | edge12 | firefox16 | ie10 | opera12.1 | safari9 |