We use cookies to improve your experience. Learn more in our Privacy policy.
transition
The transition CSS property is a shorthand property for transition-property, transition-duration, transition-timing-function, and transition-delay.
Example
Initial value | as each of the properties of the shorthand:transition-delay: 0stransition-duration: 0stransition-property: alltransition-timing-function: ease |
Applies to | all elements, ::before and ::after pseudo-elements |
Syntax
transition: transform 1s;
Values
Browser support
transition | 26 | 12 | 16 | 10 | 12.1 | 9 |
gradients | 12 | 10 |