Skip to content

Instantly share code, notes, and snippets.

@ivan-demchenko
Last active August 29, 2015 13:56
Show Gist options
  • Save ivan-demchenko/9093104 to your computer and use it in GitHub Desktop.
Save ivan-demchenko/9093104 to your computer and use it in GitHub Desktop.
CSS media queries template
/* portrait phone (< 480px) */
@media screen and (max-width:29.9999em) {
}
/* landscape phone and portrait tablet (>= 480px < 960px) */
@media screen and (min-width:30em) and (max-width:59.9999em) {
}
/* landscape tablet and normal monitor (>= 960px < 1440px) */
@media screen and (min-width:60em) and (max-width:89.9999em) {
}
/* bigger monitor (>= 1440px) */
@media screen and (min-width:90em) {
}
/* big monitor (>= 1920px) */
@media screen and (min-width:120em) {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment