Return to Snippet

Revision: 8111
at September 3, 2008 11:16 by jessnoonyes


Initial Code
The CSS


 a.linkopacity img {
   	filter:alpha(opacity=50);
   	-moz-opacity: 0.4;
  	 opacity: 0.5;
   	-khtml-opacity: 0.4;}
     a.linkopacity:hover img {
   	filter:alpha(opacity=100);   
   	-moz-opacity: 1.0;   
  	 opacity: 1.0;
  	 -khtml-opacity: 1.0; }


Add the class "linkopacity" to the <a>

<a href="#" class="linkopacity"><img src="images/photo.jpg"></a>

Initial URL


Initial Description


Initial Title
Link/Image opacity until hover

Initial Tags
image, link

Initial Language
CSS