Skip to content

Instantly share code, notes, and snippets.

@JonMidhir
Created February 26, 2013 18:36
Show Gist options
  • Save JonMidhir/5040903 to your computer and use it in GitHub Desktop.
Save JonMidhir/5040903 to your computer and use it in GitHub Desktop.
I use this mixin to provide cross-browser support for Opacity in SASS
@mixin transparency($opacity, $microsoft_friendly_stupidly_unneccessary_percentage_value) {
zoom: 1;
filter: alpha(opacity=$microsoft_friendly_stupidly_unneccessary_percentage_value);
opacity: $opacity;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment