CSS caretcolor Property (original) (raw)

CSS caret-color Property

Last Updated : 26 Aug, 2024

This property is used to set the color of the cursor in inputs, text areas, or other editable areas.

**Default Value: **auto

**Syntax:

caret-color: auto|color;

**Property values:

The below examples illustrate the caret-color property in CSS:

**Example:

HTML `

caret-color property