Posted By

ionutzp on 11/11/10


Tagged

css


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

ionutzp
pytheas
charlesp1138
mrplantain


Cross-browser Opacity


 / Published in: CSS
 

  1. selector {
  2. filter: alpha(opacity=50); /* internet explorer */
  3. -khtml-opacity: 0.5; /* khtml, old safari */
  4. -moz-opacity: 0.5; /* mozilla, netscape */
  5. opacity: 0.5; /* fx, safari, opera */
  6. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"; /* IE8 */
  7. filter: alpha(opacity=70); /* IE 5-7 */
  8. }

Report this snippet  

You need to login to post a comment.