Skip to content

Instantly share code, notes, and snippets.

@awesomephant
Last active December 17, 2015 12:39
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 awesomephant/5610933 to your computer and use it in GitHub Desktop.
Save awesomephant/5610933 to your computer and use it in GitHub Desktop.
Sass breakpoint mixin
@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