Crossbrowser Opacity


 / Published in: CSS
 

  1. selector {
  2. opacity: .75; /* Standard: FF gt 1.5, Opera, Safari */
  3. filter: alpha(opacity=75); /* IE lt 8 */
  4. -ms-filter: "alpha(opacity=75)"; /* IE 8 */
  5. -khtml-opacity: .75; /* Safari 1.x */
  6. -moz-opacity: .75; /* FF lt 1.5, Netscape */
  7. }

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: Semmu on August 2, 2010

nice.

Posted By: krike on November 23, 2010

excellent :) just what i needed

Posted By: dansantucci on April 2, 2011

This will be handy. Thanks.

You need to login to post a comment.