Last active
August 29, 2015 14:03
-
-
Save GregM/f0f07fe6501808aef99a to your computer and use it in GitHub Desktop.
viewport media query vars
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
// Desktop or laptop | |
@viewport-wide: ~"(min-width: 1024px)"; | |
// Tablet in landscape mode | |
@viewport-medium: ~"(min-width: 768px) and (max-width: 1023px)"; | |
// Tablet in portrait mode or mobile phone in landscape mode | |
@viewport-narrow: ~"(min-width: 480px) and (max-width: 767px)"; | |
// Mobile phone in portrait mode | |
@viewport-tiny: ~"(max-width: 479px)"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment