Created
April 30, 2015 12:15
-
-
Save danielmatthew/ae24c20729da8eec2b27 to your computer and use it in GitHub Desktop.
Sass MQ Mixin
This file contains hidden or 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
$medium-screen: 30em; | |
$big-screen: 50em; | |
@mixin medium { | |
@media (min-width: #{$medium-screen}) and (max-width: #{$big-screen} - 1px) { | |
@content; | |
} | |
} | |
@mixin large { | |
@media (min-width: #{$big-screen}) { | |
@content; | |
} | |
} | |
// @include medium {} | |
// @include large {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment