Can I change the flickering caret in the form / text area in the browser?

I want a special text carriage in my text box for my web page. I would like the old type of school block to blink a card. Is it possible?

+7
source share
1 answer

The simple answer is that you cannot (change the user flashing carriage) with javascript, html or css as it is created and managed by chrome (browser outside of the DOM).

Want to fake it? http://www.dynamicdrive.com/forums/showthread.php?t=17450

The code examples shown are pretty old, but the idea remains the same - make a flashing box and make it enter an input ...

With all that said, I highly recommend not using it for anything other than the smallest niche, β€œfor fun,” since I have a javascript function and you change the DOM on every keyDown that borders on user imho abuse.

+2
source

All Articles