Skip to content

Instantly share code, notes, and snippets.

@Shilo
Forked from arnoldc/cross-browser-opacity.css
Created December 23, 2019 09:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Shilo/7797f8aaa8b8ca120d2931d6b88fef3e to your computer and use it in GitHub Desktop.
Save Shilo/7797f8aaa8b8ca120d2931d6b88fef3e 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