Skip to content

Instantly share code, notes, and snippets.

@agragregra
Created December 15, 2015 11:50
Show Gist options
  • Save agragregra/9655916349ef70eb1092 to your computer and use it in GitHub Desktop.
Save agragregra/9655916349ef70eb1092 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