Posted By

JimSangwine on 05/05/11


Tagged


Versions (?)

Cross Browser Opacity


 / Published in: CSS
 

  1. .transparent_class {
  2. /* IE 8 */
  3. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  4.  
  5. /* IE 5-7 */
  6. filter: alpha(opacity=50);
  7.  
  8. /* Netscape */
  9. -moz-opacity: 0.5;
  10.  
  11. /* Safari 1.x */
  12. -khtml-opacity: 0.5;
  13.  
  14. /* Good browsers */
  15. opacity: 0.5;
  16. }

Report this snippet  

You need to login to post a comment.