Forums

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 ?

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #46226

    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 ?

    #141990
    Kitty Giraudel
    Participant

    I’d say a CSS animation and a pseudo-element.

    #141992
    Senff
    Participant

    Animated GIF as a background image? :D

    #142006
    gowda24
    Participant

    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”)

    #142036
    TheDoc
    Member

    Ooooo, I like that solution, @gcyrillus.

    #142037
    georgearnall
    Participant

    ignore comment you changed it :)

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘CSS’ is closed to new topics and replies.