CSS caret-color Property
Syntax
Property Values
| Value | Description |
|---|---|
| auto | Default. For the caret, browsers use the currentColor. |
| color | Specifies the color of the caret. All legal color values are permissible (rgb, hex, named-color, etc). Read our CSS Colors Tutorial for more information on legal values. |
| initial | This property is set to its default value. |
| inherit | This property is inherited from its parent element. |
Supported Browsers
| Element | Chrome | Firefox | Safari | Edge / IE | Opera |
|---|---|---|---|---|---|
| caret-color | 57.0 | 53.0 | 11.1 | 79.0 | 44.0 |