Skip to content

Instantly share code, notes, and snippets.

@iest
Last active December 17, 2015 07:49
Show Gist options
  • Save iest/5575684 to your computer and use it in GitHub Desktop.
Save iest/5575684 to your computer and use it in GitHub Desktop.
Supporting old IE with Stylus: opacity edition
opacity(amount)
opacity amount
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=%s)" % (amount * 100);
// Just use opacity as you normally would in your stylus, and get support for IE8!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment