CSS Transparency Settings for All Browserscss-tricks.com 13 pointsmogston16 years ago5 commentsSaveHideCopy link On HNComments−neonfunk16yHow is this news? $(this).css("opacity", 0);[Admittedly, this is helpful if yr trying to style w/o JS, but it's not exactly a new technique -- as evidenced by the publish date.]−lsb16yJunking up your CSS rules with hacks for Netscape Navigator and Safari 1.0? No thanks.−javanix16yIt's one line that adds that functionality. One line that shouldn't really have any additional overhead. Hardly seems like a giant glob of obfuscating junk to me.−iamwil16yapparently, IE doesn't respond to filter. You'll need this:-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"−code_duck16yYes, that's the new IE8 version. This article is double out of date, both the original (2007) post and the update.
Comments
How is this news? $(this).css("opacity", 0);
[Admittedly, this is helpful if yr trying to style w/o JS, but it's not exactly a new technique -- as evidenced by the publish date.]
Junking up your CSS rules with hacks for Netscape Navigator and Safari 1.0? No thanks.
It's one line that adds that functionality. One line that shouldn't really have any additional overhead. Hardly seems like a giant glob of obfuscating junk to me.
apparently, IE doesn't respond to filter. You'll need this:
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"
Yes, that's the new IE8 version. This article is double out of date, both the original (2007) post and the update.