Forums

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

Home Forums CSS Help on Menu bar

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #43580
    Vexgoo
    Member

    Hello there, I’m currently stuck on my menu bar for my project.
    I just started 3 months ago on css & html and right now I’m stuck at hover, fade in & fade out.

    What I’m trying to do is when you hover onto a selected region of the menu bar, an icon will appear on the side of the word and if you’re on the selected page(html) the icon will appear forever.

    Here’s the example ” http://i.imgur.com/gOc9AiI.png
    – Tab 3 is the selected region

    Is there a solution?

    #129314
    CodeGraphics
    Participant

    add the image to :hover
    Then add it again to .active

    Whatever

    a:hover{background:url(img.png) no-repeat right center;}
    .active {background:url(img.png) no-repeat right center;}

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