Posted By

ulfryk on 07/06/12


Tagged

crossbrowser opacity


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

liakwee


opacity


 / Published in: CSS
 

Crossbrowser css opacity. Breaks a bit if used for 24bit PNG with alpha.

  1. /* opacity */
  2. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  3. filter: alpha(opacity=50);
  4. -moz-opacity: 0.5;
  5. -khtml-opacity: 0.5;
  6. opacity: 0.5;

Report this snippet  

You need to login to post a comment.