Skip to content

Instantly share code, notes, and snippets.

@Marfa
Created October 18, 2015 10:59
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 Marfa/679155e8e471a2146426 to your computer and use it in GitHub Desktop.
Save Marfa/679155e8e471a2146426 to your computer and use it in GitHub Desktop.
responsive css
/* Mobile first queries */
@media (min-width: 240px) {
}
@media (min-width: 320px) {}
@media only screen
and (min-width: 360px)
and (orientation: portrait)
and (-webkit-min-device-pixel-ratio: 3.0) {}
/* Larger than phablet */
@media (min-width: 550px) {}
@media (min-width: 400px) {}
@media (min-width: 480px) {}
/* Larger than tablet */
@media (min-width: 750px) {}
/* Larger than desktop */
@media (min-width: 1000px) {}
/* Larger than Desktop HD */
@media (min-width: 1200px) {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment