Home Menu

caret-color

The caret-color CSS property controls the color of the caret.

Syntax

CSS

caret-color: value;

JS

object.style.caretColor = "value";

Values

<'caret-color'> = auto | <color>
auto

Automatically specified by the user agent.

<color>

Specifies the color using a keyword or a numerical specification.

Initial

auto

Examples

auto

color

JS

World Wide Web Consortium (W3C)

JesusBible
HTMLCSSJSPHPSVGMore
AboutTerms