Return to Snippet

Revision: 34859
at October 29, 2010 06:28 by dre1080


Initial Code
/*
 * Andrew Wayne 2010
 * Cross-Browser Opacity
*/

.opacity {
  
  -moz-opacity: 0.5; /* Netscape */
  
  -khtml-opacity: 0.5; /* Safari 1.x */

  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; /* IE 8 */
  
  filter: alpha(opacity=50); /* IE 5-7 grrr */
  
  opacity: 0.5; /* The rest, good browsers :) */
}

Initial URL

                                

Initial Description

                                

Initial Title
Cross-Browser Opacity

Initial Tags

                                

Initial Language
CSS