AshKeys

Confessions and Confusions of a Freelance Fullstacker.

Ashok Mannolu Arunachalam, How toCSS
Back

How to change the color of the cursor in CSS

Using caret-color

To set a specific color.

Click here and see the red caret ^_^

css
span {
caret-color: red;
}

One can also set it to caret-color: transparent; in order to totally hide the caret blinking.