Skip to content

Instantly share code, notes, and snippets.

@bencallahan
Created December 20, 2012 19:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bencallahan/4347945 to your computer and use it in GitHub Desktop.
Save bencallahan/4347945 to your computer and use it in GitHub Desktop.
// _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