Skip to content

Instantly share code, notes, and snippets.

@isitannarli
Forked from agragregra/media.css
Created July 15, 2016 08:53
Show Gist options
  • Select an option

  • Save isitannarli/9e870d78f20bcd22f0cb1d4442e545e3 to your computer and use it in GitHub Desktop.

Select an option

Save isitannarli/9e870d78f20bcd22f0cb1d4442e545e3 to your computer and use it in GitHub Desktop.
Bootstrap Media CSS | Sass
/*========== Desktop First Method ==========*/
/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
}
/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
}
/* Small Devices, Tablets */
@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 : 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) {
}
/*========== Desktop First Method ==========*/
/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px)
/**/
/* Medium Devices, Desktops */
@media only screen and (max-width : 992px)
/**/
/* Small Devices, Tablets */
@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 : 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