caret-color

The caret-color property in CSS changes the color of the cursor (caret) in inputs, texareas, or really any element that is editable, like:

input,
textarea,
[contenteditable] {
  caret-color: red;
}

The color of the caret generally matches the color of …

Avatar of Chris Coyier
Chris Coyier on (Updated on )