Grow your CSS skills. Land your dream job.

Help on Menu bar

  • # March 22, 2013 at 3:32 am

    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?

    # March 22, 2013 at 4:34 am

    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)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".