Created
February 1, 2017 14:10
-
-
Save anonymous/ee4617eef57123761633536b54a8c40b 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
$queryMaxNotEnough: 'only screen and (max-width: 1140px) and (min-width: 1024px)'; | |
$queryMaxMobile: 'only screen and (max-width: 1023px)'; | |
@mixin queryMaxMobile { | |
@media #{$queryMaxMobile} | |
{ | |
@content; | |
} | |
} | |
@mixin queryMaxNotEnough { | |
@media #{$queryMaxNotEnough} | |
{ | |
@content; | |
} | |
} | |
@mixin queryRetina { | |
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { | |
@content; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment