Created
January 8, 2012 06:17
-
-
Save MatthewEppelsheimer/1577446 to your computer and use it in GitHub Desktop.
Responsive Break Point Media Query Boilerplate
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
// Mobile First | |
@media screen and (min-width: 321px) { // iPhone landscape | |
} | |
@media screen and (min-width: 481px) { // iPad portrait | |
} | |
@media screen and (min-width: 769px) { // iPad landscape | |
} | |
// Desktop First | |
@media screen and (max-width: 320px) { // iPhone portrait | |
} | |
@media screen and (max-width: 480px) { // iPhone landscape | |
} | |
@media screen and (max-width: 768px) { // iPad portrait | |
} | |
@media screen and (max-width: 1024px) { // iPad landscape | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm sure this already exists elsewhere, but I didn't immediately find it and it was easy to quickly re-create.
This is just a starting point.
TODO: