Skip to content

Instantly share code, notes, and snippets.

@fjaguero
Created February 27, 2013 09:36
Show Gist options
  • Save fjaguero/5046662 to your computer and use it in GitHub Desktop.
Save fjaguero/5046662 to your computer and use it in GitHub Desktop.
CSS: Complete Media Queries
/*
===================================== 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