Created
September 4, 2012 21:14
-
-
Save jlong/3626595 to your computer and use it in GitHub Desktop.
Flags?
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
// Contrived example: | |
@mixin text-shadow($value, !important) { | |
text-shadow: $value $important; | |
} | |
a { | |
@include text-shadow(none) !important; | |
} | |
// Another contrived example: | |
@mixin button(!ie6, !ie7) { | |
// some styles | |
@if ($ie6) { /* optional styles for ie6 */ } | |
@if ($ie7) { /* optional styles for ie7 */ } | |
} | |
.button { | |
@include button !ie7 !ie6; | |
} | |
// Useful for other stuff? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment