Skip to content

Instantly share code, notes, and snippets.

@JesseHerrick
Created August 8, 2014 04:37
Show Gist options
  • Save JesseHerrick/fe73d168b22e8c8492d6 to your computer and use it in GitHub Desktop.
Save JesseHerrick/fe73d168b22e8c8492d6 to your computer and use it in GitHub Desktop.
My SCSS breakpoints.
// responsiveness
@mixin breakpoint($point) {
@if $point == morbidly-obese-bear {
@media (min-width: 1601px) { @content; }
}
@if $point == papa-bear {
@media (max-width: 1600px) { @content; }
}
@else if $point == mama-bear {
@media (max-width: 1250px) { @content; }
}
@else if $point == goldilocks {
@media (max-width: 768px) { @content; }
}
@else if $point == baby-bear {
@media (max-width: 650px) { @content; }
}
@else if $point == really-baby-bear {
@media (max-width: 350px) { @content; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment