Posted By

cesgra on 10/25/09


Tagged

css


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

cesgra
vali29
thatryan
aleksanderek


Cross Browser Opacity


 / Published in: CSS
 

URL: http://css-tricks.com/snippets/css/cross-browser-opacity/

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

Report this snippet  

You need to login to post a comment.