Web Development
What is CSS caret-color?
→ A CSS property that sets the color of the text insertion cursor (caret) in editable elements like input fields and textareas.
Answer
What is CSS caret-color?
A CSS property that sets the color of the text insertion cursor (caret) in editable elements like input fields and textareas.
Introduced in CSS3, caret-color accepts any color value or 'auto' (which picks a contrasting color). It only affects the text cursor, not the mouse pointer.