Posted By

Nettuts on 06/25/10


Tagged

css opacity


Versions (?)

Who likes this?

29 people have marked this snippet as a favorite

themolitor
SuperGeek69
barakbl
Hollow
thatryan
d55beck
Orlandoo
fengelz
maddesigns
maltem
hmvrulz
snippork
tamala73
seanpowell
wdeer
barbietunnie
clementcollier
takel
visudex
f1r3fl3x
baczoni
samkamerer
michellebracken
soyoh
qubestream
espig
leobetosouza
Dane_Collins
dannie_manji


Cross-Browser Opacity


 / Published in: CSS
 

  1. selector {
  2. opacity: .75; /* Standard: FF gt 1.5, Opera, Safari */
  3. filter: alpha(opacity=75); /* IE lt 8 */
  4. -ms-filter: "alpha(opacity=75)"; /* IE 8 */
  5. -khtml-opacity: .75; /* Safari 1.x */
  6. -moz-opacity: .75; /* FF lt 1.5, Netscape */
  7. }

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: Nettuts on June 25, 2010

Truthfully, this is probably overkill. Firefox users upgrade often. Modify as you wish. :)

Posted By: hmvrulz on October 2, 2010

thanks for the script :D

You need to login to post a comment.