Thursday, 15 July 2010

html - make h2 text underline when hovering over image -


jsfiddle.net/pxojrb1o/

Hello,

I'm trying When you hover over a green image, in order to outline the 'retro product' text, if I put a green color in the H2 tag, it misleads misbehaving. I have added a class for H2

  & Lt; H2 class = "product" & gt; & Lt; A href = "products.html" & gt; Retro Products & lt; / A & gt; & Lt; / H2 & gt;  

CSS

  .home-featured-class: hover .products {text-decoration: underline; }  

See this thread for more information:


No comments:

Post a Comment