Last active
December 17, 2015 12:39
-
-
Save awesomephant/5610933 to your computer and use it in GitHub Desktop.
Sass breakpoint 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
@mixin bp($point) { | |
@if $point == l { | |
@media (min-width: 65rem) { @content; } | |
} | |
@else if $point == m { | |
@media (min-width: 45rem) { @content; } | |
} | |
@else if $point == s { | |
@media (min-width: 35rem) { @content; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment