| Class | Description | |
|---|---|---|
font-familySets font-family via --font-family. E.g. "Georgia", serif. CSS Rules Usage
The .font-family
class is flagged as a value-driven selector.
The variable --font-family 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
| .font-family | Sets font-family via --font-family. E.g. "Georgia", serif. |
font-monoApplies the configured monospace font stack. Good for code. 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 | .font-mono | Applies the configured monospace font stack. Good for code. |
font-sansApplies the configured sans-serif font stack. 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 | .font-sans | Applies the configured sans-serif font stack. |
font-serifApplies the configured serif font stack. 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 | .font-serif | Applies the configured serif font stack. |