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
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.
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.
thanks for your help! It worked out.