Created
December 18, 2016 12:07
-
-
Save Krabaton/4d70dc0fedc88ca31d18be57536379d6 to your computer and use it in GitHub Desktop.
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
$phone-width: 320px; | |
$tablet-width: 768px; | |
$desktop-width: 1200px; | |
$large-desktop-width: 1800px; | |
@mixin phone { | |
@media (min-width: #{$phone-width}) and (max-width: #{$tablet-width - 1px}) { | |
@content; | |
} | |
} | |
@mixin tablet { | |
@media (min-width: #{$tablet-width}) and (max-width: #{$desktop-width - 1px}) { | |
@content; | |
} | |
} | |
@mixin desktop { | |
@media (min-width: #{$desktop-width}) and (max-width: #{$large-desktop-width}) { | |
@content; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment