CSS · Properties — CSS Basic User Interface
caret
The CSS caret property. Initial value: caret-color,caret-animation,caret-shape. Inherited.
Syntax
caret: <'caret-color'> || <'caret-animation'> || <'caret-shape'>Example
Try it
Notes
Media: interactive. Applies to: textOrElementsThatAcceptInput. Computed value: caret-color,caret-animation,caret-shape.
More in this group
Learn this in the course
Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.