Skip to content

Instantly share code, notes, and snippets.

@jahfer
Created May 13, 2012 23:52
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 jahfer/2690835 to your computer and use it in GitHub Desktop.
Save jahfer/2690835 to your computer and use it in GitHub Desktop.
CSS: Media Queries
/* Desktop */
/* Mobile in portrait */
@media only screen and (max-width: 47.9375em) {
}
/* Mobile in Landscape */
@media only screen and (min-width: 30em) and (max-width: 47.9375em) {
}
/* Tablets in Portrait */
@media only screen and (min-width: 48em) and (max-width: 59.9375em) {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment