Created
April 26, 2012 10:49
-
-
Save pertrai1/2498741 to your computer and use it in GitHub Desktop.
sass mixin for opacity
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin opacity($opacity) { | |
filter: alpha(opacity=#{$opacity}); | |
opacity: $opacity * 0.01; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment