Skip to content

Instantly share code, notes, and snippets.

@jxson
Forked from veganstraightedge/gist:796004
Created January 26, 2011 01:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jxson/796042 to your computer and use it in GitHub Desktop.
Save jxson/796042 to your computer and use it in GitHub Desktop.
/* iphone... */
@media screen and (max-device-width: 480px) {
}
/* ...iphone */
/* iphone portrait... */
@media screen and (max-device-width: 480px) and (orientation:portrait) {
}
/* ...iphone portrait */
/* iphone landscape... */
@media screen and (max-device-width: 480px) and (orientation:landscape) {
}
/* ...iphone landscape */
/* narrow screens... */
@media screen and (max-width: 680px) {
}
@media screen and (max-width: 880px) {
}
@media screen and (min-width: 450px) and (max-width: 880px) {
}
/* ...narrow screens */
/* wide screens... */
@media screen and (min-width: 1000px) {
}
@media screen and (min-width: 1200px) {
}
@media screen and (min-width: 1450px) {
}
/* ...wide screens */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment