Skip to content

Instantly share code, notes, and snippets.

@OlgaCoin
Forked from agragregra/media.css
Created May 29, 2017 22:32
Show Gist options
  • Select an option

  • Save OlgaCoin/9a149edcbb651b32e3b67db3875636bd to your computer and use it in GitHub Desktop.

Select an option

Save OlgaCoin/9a149edcbb651b32e3b67db3875636bd 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