Skip to content

Instantly share code, notes, and snippets.

@Mao8a
Created June 18, 2013 17:47
Show Gist options
  • Save Mao8a/5807644 to your computer and use it in GitHub Desktop.
Save Mao8a/5807644 to your computer and use it in GitHub Desktop.
CSS: Media Queries
/* Smartphones */
@media (max-width: 480px) { ... }
/* Smartphones to Tablets */
@media (min-width: 481px) and (max-width: 767px) { ... }
/* Tablets */
@media (min-width: 768px) and (max-width: 959px) { ... }
/* Desktop */
@media (min-width: 960px) and (max-width: 1199px) { ... }
/* Large Display */
@media (min-width: 1200px) { ... }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment