| Class | Description | |
|---|---|---|
decorationSets text-decoration-color via --decoration. CSS Rules Usage
The .decoration
class is flagged as a value-driven selector.
The variable --decoration is required. Responsive & Dark Mode
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
| .decoration | Sets text-decoration-color via --decoration. |
decoration/oSets text-decoration-color + opacity via --decoration and --decoration-o. CSS Rules Usage
The .decoration/o
class is flagged as a value-driven selector.
The variables --decoration and --decoration-o are required. Responsive & Dark Mode
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
| .decoration/o | Sets text-decoration-color + opacity via --decoration and --decoration-o. |
decoration-inheritSets text-decoration-color to inherit from the parent element. 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 | .decoration-inherit | Sets text-decoration-color to inherit from the parent element. |
decoration-currentSets text-decoration-color to match the current text color (currentColor). 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 | .decoration-current | Sets text-decoration-color to match the current text color (currentColor). |
decoration-transparentSets text-decoration-color to transparent, hiding the decoration's color. 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 | .decoration-transparent | Sets text-decoration-color to transparent, hiding the decoration's color. |