Menu
The caret-color
property designates the color of the caret (cursor) in inputs, textareas, or any other editable element.
Example:
textarea.ex {
caret-color: #0000ff;
}
auto
Default value. The browser uses the currentColor.
color
Designates the color of the caret using CSS color values.
initial
Sets the property to its default value.
inherit
Inherits this property’s value from its parent item.
Have a code example of caret-color
? Submit a codepen.io demo and we'll showcase it here ↴