Skip to content

Instantly share code, notes, and snippets.

@pavelbinar
Created February 4, 2014 14:50
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 pavelbinar/8804969 to your computer and use it in GitHub Desktop.
Save pavelbinar/8804969 to your computer and use it in GitHub Desktop.
Common CSS Media Queries Break Points
@media only screen and (min-width: 768px) {
/* tablets and desktop */
}
@media only screen and (max-width: 767px) {
/* phones */
}
@media only screen and (max-width: 767px) and (orientation: portrait) {
/* portrait phones */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment