Skip to content

Instantly share code, notes, and snippets.

@arnoldc
Forked from Quinten/cross-browser opacity
Last active June 11, 2020 12:41
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save arnoldc/5844440 to your computer and use it in GitHub Desktop.
Save arnoldc/5844440 to your computer and use it in GitHub Desktop.
css: cross browser opacity
selector {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
filter: alpha(opacity=30);
-moz-opacity: 0.3;
-khtml-opacity: 0.3;
opacity: 0.3;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment