Created
October 14, 2015 06:56
-
-
Save JoeNoPhoto/fd79e730fb3248a5c5f8 to your computer and use it in GitHub Desktop.
Mixin for adding breakpoints
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
@mixin bp-large { | |
@media only screen and (max-width: 60em) { | |
@content; | |
} | |
} | |
@mixin bp-medium { | |
@media only screen and (max-width: 40em) { | |
@content; | |
} | |
} | |
@mixin bp-small { | |
@media only screen and (max-width: 30em) { | |
@content; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
usage