| Class | Description | |
|---|---|---|
transformSets a fully custom transform string via --transform. E.g. scale(1.5) rotate(45deg). CSS Rules Usage
The .transform
class is flagged as a value-driven selector.
The variable --transform 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
| .transform | Sets a fully custom transform string via --transform. E.g. scale(1.5) rotate(45deg). |
transform-noneResets all transform values. 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 | .transform-none | Resets all transform values. |
transform-gpuForces GPU acceleration via translateZ(0). Promotes element to its own compositor layer. 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 | .transform-gpu | Forces GPU acceleration via translateZ(0). Promotes element to its own compositor layer. |
transform-cpuForces CPU processing. Opts out of GPU compositing. 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 | .transform-cpu | Forces CPU processing. Opts out of GPU compositing. |