| Class | Description | |
|---|---|---|
bgSets the background color via --bg. CSS Rules Usage
The .bg
class is flagged as a value-driven selector.
The variable --bg 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
| .bg | Sets the background color via --bg. |
bg/oSets background color + opacity via --bg and --bg-o independently. CSS Rules Usage
The .bg/o
class is flagged as a value-driven selector.
The variables --bg and --bg-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
| .bg/o | Sets background color + opacity via --bg and --bg-o independently. |