| Class | Description | |
|---|---|---|
caretSets caret-color (the text cursor color inside inputs) via --caret. CSS Rules Usage
The .caret
class is flagged as a value-driven selector.
The variable --caret 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
| .caret | Sets caret-color (the text cursor color inside inputs) via --caret. |
caret/oSets caret color + opacity independently via --caret and --caret-o. Controls text cursor transparency. CSS Rules Usage
The .caret/o
class is flagged as a value-driven selector.
The variables --caret and --caret-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
| .caret/o | Sets caret color + opacity independently via --caret and --caret-o. Controls text cursor transparency. |