Created
March 28, 2012 17:08
-
-
Save joshuabaker/2228276 to your computer and use it in GitHub Desktop.
Media queries for responsive layouts
This file contains hidden or 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
// Responsive.css | |
// ------------------------------------------------------------- | |
// UP TO LANDSCAPE PHONE | |
// --------------------- | |
@media (max-width: 480px) {} | |
// LANDSCAPE PHONE TO SMALL DESKTOP & PORTRAIT TABLET | |
// -------------------------------------------------- | |
@media (max-width: 767px) {} | |
// PORTRAIT TABLET TO DEFAULT DESKTOP | |
// ---------------------------------- | |
@media (min-width: 768px) and (max-width: 979px) {} | |
// TABLETS AND BELOW | |
// ----------------- | |
@media (max-width: 979px) {} | |
// DEFAULT DESKTOP | |
// --------------- | |
@media (min-width: 980px) {} | |
// LARGE DESKTOP & UP | |
// ------------------ | |
@media (min-width: 1200px) {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment