Last active
December 16, 2015 07:39
-
-
Save swrobel/5400259 to your computer and use it in GitHub Desktop.
respond-to 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
$phone: '(max-width: 480px)'; | |
$tablet-portrait: '(max-width: 767px)'; | |
$tablet-landscape-desktop: '(min-width: 768px) and (max-width: 979px)'; | |
$large-desktop: '(min-width: 1200px)'; | |
$non-retina: 'screen and (-webkit-max-device-pixel-ratio: 1)'; | |
$retina: 'screen and (-webkit-min-device-pixel-ratio: 2)'; | |
@mixin respond-to($media) { | |
@media #{$media} { | |
@content; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment