CSS transition Property Reference
The CSS transition property is a standard property in CSS Transitions. Review its formal syntax, computed behavior, and practical declarations.
Updated 2026-08-12
transition overview
The CSS transition property is a standard property in CSS Transitions. Review its formal syntax, computed behavior, and practical declarations.
The property is not inherited by default. Use an explicit global keyword when inheritance is intended.
Syntax and formal definition
| Field | Value |
|---|---|
| Formal syntax | <single-transition># |
| Initial value | transition-delay, transition-duration, transition-property, transition-timing-function, transition-behavior |
| Applies to | allElementsAndPseudos |
| Inherited | No |
| Percentages | no |
| Computed value | transition-delay, transition-duration, transition-property, transition-timing-function, transition-behavior |
| Animation type | notAnimatable |
| Media | interactive |
| Specification group | CSS Transitions |
| Status | Standard |
Practical examples
These declarations demonstrate valid ways to set transition. The initial and inherit global keywords remain available even when a property-specific value is preferable.
CSS
.reset-example {
transition: initial;
}
.inherit-example {
transition: inherit;
}
@supports (transition: color 150ms ease, transform 150ms ease) {
.supported {
transition: color 150ms ease, transform 150ms ease;
}
}