Created
February 27, 2013 09:36
-
-
Save fjaguero/5046662 to your computer and use it in GitHub Desktop.
CSS: Complete Media Queries
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
/* | |
===================================== DESKTOP, LARGE SCREENS ==== | |
*/ | |
@media only screen and (min-width: 1200px) { | |
} | |
/* | |
=========================================== DESKTOP < 1200px ==== | |
*/ | |
@media only screen and (max-width: 1200px) { | |
} | |
/* | |
============================================= IPAD LANDSCAPE ==== | |
*/ | |
@media only screen and (max-width: 1024px) { | |
} | |
/* | |
============================================== IPAD PORTRAIT ==== | |
*/ | |
@media handheld, only screen and (max-width: 768px) { | |
} | |
/* | |
=========================================== IPHONE LANDSCAPE ==== | |
*/ | |
@media handheld, only screen and (max-width: 480px) { | |
} | |
/* | |
============================================ IPHONE PORTRAIT ==== | |
*/ | |
@media handheld, only screen and (max-width: 320px) { | |
} | |
/* | |
============================================ SO SMALL PHONES ==== | |
*/ | |
@media handheld, only screen and (max-width: 240px) { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment