Skip to content

Instantly share code, notes, and snippets.

@jwdeane
Created December 11, 2009 00:03
Show Gist options
  • Save jwdeane/253840 to your computer and use it in GitHub Desktop.
Save jwdeane/253840 to your computer and use it in GitHub Desktop.
Cross browser opacity
selector {
opacity: .75; /* Standard: FF gt 1.5, Opera, Safari */
filter: alpha(opacity=75); /* IE lt 8 */
-ms-filter: "alpha(opacity=75)"; /* IE 8 */
-khtml-opacity: .75; /* Safari 1.x */
-moz-opacity: .75; /* FF lt 1.5, Netscape */
}
/* Source: http://snipplr.com/view/10094/crossbrowser-opacity/ */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment