Skip to content

Instantly share code, notes, and snippets.

/Solutions.css
Created Feb 1, 2017

Embed
What would you like to do?
$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
You can’t perform that action at this time.