Skip to content

Instantly share code, notes, and snippets.

@furzeface
Last active May 25, 2017 19:01
Show Gist options
  • Save furzeface/7920138 to your computer and use it in GitHub Desktop.
Save furzeface/7920138 to your computer and use it in GitHub Desktop.
A set of standard media queries for popular devices.
@media all and (min-device-width : 320px)
and (max-device-width : 480px) {
/*style all the things*/
}
@media all and (max-width : 320px) {
/*style all the things*/
}
@media all and (min-device-width : 768px) and (max-device-width : 1024px) {
/*style all the things*/
}
@media only screen (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
/*style all the things*/
}
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
/*style all the things*/
}
@media all and (min-width : 1200px) {
/*style all the things*/
}
@media all and (min-width : 1600px) {
/*style all the things*/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment