Skip to content

Instantly share code, notes, and snippets.

@flumono
Last active September 6, 2017 19:36
Show Gist options
  • Save flumono/6c9694c35d003ba801007051dbe59a1a to your computer and use it in GitHub Desktop.
Save flumono/6c9694c35d003ba801007051dbe59a1a to your computer and use it in GitHub Desktop.
Media.css
/*========== Desktop First Method ==========*/
/* Large Devices, Wide Screens */
@media only screen and (max-width : 1280px) {
}
@media only screen and (max-width : 1200px) {
}
@media only screen and (max-width : 1024px) {
}
/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
}
/* Small Devices, Tablets */
@media only screen and (max-width : 770px) {
}
@media only screen and (max-width : 768px) {
}
/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
}
/* Custom, iPhone Retina */
@media only screen and (max-width : 414px) {
}
@media only screen and (max-width : 375px) {
}
@media only screen and (max-width : 361px) {
}
@media only screen and (max-width : 320px) {
}
/*========== Mobile First Method ==========*/
/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {
}
/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {
}
/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
}
/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
}
/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment