Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS targetting & styling a button tag

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #39322
    misemefein
    Member

    I know it is not a link or anchor tag, but is it possible to activate a ‘hover state’ to a tag?
    for example I want to add a simple underline upon hovering a button

    #107713
    chrisburton
    Participant

    You mean the text inside it or the actual button?

    #107714
    misemefein
    Member

    actually im referring to the text inside.
    see example here for clarity:
    http://jsfiddle.net/misemefein/k3dKz/12/

    #107715
    misemefein
    Member

    ah I was too impatient. and stupid.
    .slide button:hover{
    text-decoration: underline;
    }

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