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

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -