| Class | Description | |
|---|---|---|
transitionSets which CSS properties to transition via --transition. E.g. opacity. CSS Rules Usage
The .transition
class is flagged as a value-driven selector.
The variable --transition is required. Responsive
Prefix
States
States are generated dynamically at runtime and always
come last. Append a state like
Supported pseudo-classes: Group Hover Example
The Pseudo-Elements
The Shorthand
Value-driven classes support a shorthand syntax like CLS Alert
This feature may cause CLS (Cumulative Layout
Shift). Make sure to include a
| .transition | Sets which CSS properties to transition via --transition. E.g. opacity. |
transition-allTransitions all CSS properties. CSS Rules Usage Responsive
Prefix
States
States are generated dynamically at runtime and always
come last. Append a state like
Supported pseudo-classes: Group Hover Example
The Pseudo-Elements
The | .transition-all | Transitions all CSS properties. |
transition-colorsTransitions color-related properties: color, background, border, fill, stroke, etc. CSS Rules Usage Responsive
Prefix
States
States are generated dynamically at runtime and always
come last. Append a state like
Supported pseudo-classes: Group Hover Example
The Pseudo-Elements
The | .transition-colors | Transitions color-related properties: color, background, border, fill, stroke, etc. |
transition-opacityTransitions opacity only. CSS Rules Usage Responsive
Prefix
States
States are generated dynamically at runtime and always
come last. Append a state like
Supported pseudo-classes: Group Hover Example
The Pseudo-Elements
The | .transition-opacity | Transitions opacity only. |
transition-shadowTransitions box-shadow. CSS Rules Usage Responsive
Prefix
States
States are generated dynamically at runtime and always
come last. Append a state like
Supported pseudo-classes: Group Hover Example
The Pseudo-Elements
The | .transition-shadow | Transitions box-shadow. |
transition-transformTransitions transform properties: translate, scale, rotate. CSS Rules Usage Responsive
Prefix
States
States are generated dynamically at runtime and always
come last. Append a state like
Supported pseudo-classes: Group Hover Example
The Pseudo-Elements
The | .transition-transform | Transitions transform properties: translate, scale, rotate. |
transition-noneRemoves transitions. CSS Rules Usage Responsive
Prefix
States
States are generated dynamically at runtime and always
come last. Append a state like
Supported pseudo-classes: Group Hover Example
The Pseudo-Elements
The | .transition-none | Removes transitions. |