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-durationchrome26edge12firefox16ie10opera12.1safari9

We use cookies to improve your experience. Learn more in our Privacy policy.

×