Created
December 20, 2012 19:31
-
-
Save bencallahan/4347955 to your computer and use it in GitHub Desktop.
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
// _my-media-nomq.scss | |
@mixin my-base { | |
// never serve the base styles to old IE | |
// (it will already receive this in mq.css) | |
// note, SCSS won't compile unless you use @content | |
@if false { | |
@content; | |
} | |
} | |
@mixin my-media($theQuery, $serveToOldIE: true) { | |
// allows us to exclude queries from old IE | |
// by passing "false" | |
@if $serveToOldIE { | |
@content; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment