Skip to content

Instantly share code, notes, and snippets.

@cheh
Created October 26, 2012 07:36
Show Gist options
  • Save cheh/3957439 to your computer and use it in GitHub Desktop.
Save cheh/3957439 to your computer and use it in GitHub Desktop.
CSS: Media Queries
/* Large desktop */
@media (min-width: 1200px) { ... }
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) { ... }
/* Landscape phone to portrait tablet */
@media (max-width: 767px) { ... }
/* Landscape phones and down */
@media (max-width: 480px) { ... }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment