Created
September 9, 2013 17:54
-
-
Save charliepark/6499139 to your computer and use it in GitHub Desktop.
simple responsive breakpoints
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
/* via http://stackoverflow.com/questions/16443380/common-css-media-queries-break-points */ | |
@media only screen and (min-width: 768px) { | |
/* tablets and desktop */ | |
} | |
@media only screen and (max-width: 767px) { | |
/* phones */ | |
} | |
@media only screen and (max-width: 767px) and (orientation: portrait) { | |
/* portrait phones */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Also, don't forget to include <meta name="viewport" content="width=device-width, initial-scale=1">