Created
May 16, 2017 04:22
-
-
Save jsonberry/0ea99782229227783628ddd4f1b6feeb to your computer and use it in GitHub Desktop.
Breakpoint mixin
This file contains 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
=breakpoint($size) | |
@if $size == phone-only | |
@media (max-width: 599px) | |
@content | |
@else if $size == tablet-portrait-up | |
@media (min-width: 600px) | |
@content | |
@else if $size == tablet-landscape-up | |
@media (min-width: 900px) | |
@content | |
@else if $size == desktop-up | |
@media (min-width: 1200px) | |
@content | |
@else if $size == big-desktop-up | |
@media (min-width: 1800px) | |
@content |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment