The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › how to build a blinking text cursor in input fields ?
In one of my current projects, i require a text field which has no border nor background,instead i need the blinking text cursor to appear in those input fields. How can i best achieve this effect ?
I’d say a CSS animation and a pseudo-element.
Animated GIF as a background image? :D
By making the input type border u can disable the border.
but to move the first input field by calling a focus(). [Your text to link here…](http://codepen.io/gowda24/pen/tCcFw “cursor blink”)
Ooooo, I like that solution, @gcyrillus.
ignore comment you changed it :)