css - Can I change the appearance of an html image during hover without a second image? -
is there way change appearance of icon (ie. contrast / luminosity) when hover cursor, without requiring second image file (or without requiring hidden portion of image)?
here's information image opacity , transparency css.
so make image opacity 50%, you'd this:
<img src="image.png" style="opacity: 0.5; filter: alpha(opacity=50)" />
the opacity: part how firefox it, , it's value between 0.0 , 1.0. filter: how ie it, , it's value 0 100.
Comments
Post a Comment