DEV Community

Cover image for Style your caret color
Manuel Duran
Manuel Duran

Posted on • Updated on

Style your caret color

You probably didn't hear this or you do, but this it's an interesting property to get your inputs style with your owns very colors.

Alt Text

Now you give it a try!

Image credits: @imac2

More info: https://developer.mozilla.org/en-US/docs/Web/CSS/caret-color

Top comments (5)

Collapse
 
kwiat1990 profile image
Mateusz Kwiatkowski

Seriously, I'm speechless that someone spent his/her time to make a post abut such a thing. It's like you would make a post about color property, which you can use to change color of text... I bet everybody, which need this kind of knowledge would google it first.

It's a great example for the latest discussion on post-quality here on Dev.

Collapse
 
kilianvalkhof profile image
Kilian Valkhof

Credit for the original tweet: twitter.com/IMAC2/status/133122284...

Collapse
 
link2twenty profile image
Andrew Bone

Very cool, works like a charm, I had no idea changing the caret colour was an option.

Collapse
 
tirtharajsinha profile image
Tirtharaj Sinha

That's marvelous.

Collapse
 
nikhilmwarrier profile image
nikhilmwarrier

Wait what? Siriously? That's really really cool!