| Class | Description | |
|---|---|---|
underline-offsetSets text-underline-offset via --underline-offset. E.g. 4px. CSS Rules Usage
The .underline-offset
class is flagged as a value-driven selector.
The variable --underline-offset 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
| .underline-offset | Sets text-underline-offset via --underline-offset. E.g. 4px. |
underline-offset-autoSets text-underline-offset to auto, using the browser's default underline offset. 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 | .underline-offset-auto | Sets text-underline-offset to auto, using the browser's default underline offset. |