treehouse : what would you like to learn today?
Web Design Web Development iOS Development

[Solved] Hover Style is not applying to a .div

  • 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!
  • 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.
  • Hey calebdwilliams,

    thanks for your help! It worked out.

    Cheers.