Created
December 20, 2012 19:29
-
-
Save bencallahan/4347945 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-mq.scss | |
@mixin my-base { | |
// just pass the content through | |
@content; | |
} | |
@mixin my-media($theQuery, $serveToOldIE: true) { | |
// interpret the media query passed in | |
// and wrap the content in that query | |
@media #{$theQuery} { | |
@content; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment