Forums

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

Home Forums CSS Hover Style is not applying to a .div

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #38344
    Dockers
    Member

    Hey guys.

    I’m new on the forum as well as with CSS, but i hope you’ll help me clear this out.

    So i am experimenting with a few hover effects, and everything is well, but i can’t apply a hover effect to a div.

    Here is the exact snippet: http://jsfiddle.net/jYJzf/6/

    I placed that nettuts+ logo near the left corner, and all i want to do is apply (any) effect on hover for that image.

    Thanks!

    #103866
    Caleb Williams
    Participant

    First, you need to close the .wrap declaration with a }

    Second, the color declaration is for text color. Try replacing that with background:red and that should take care of it.

    #103868
    Dockers
    Member

    Hey calebdwilliams,

    thanks for your help! It worked out.

    Cheers.

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