markdown Bootstrap Media Breakpoints

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown Bootstrap Media Breakpoints相关的知识,希望对你有一定的参考价值。

## Bootstrap 3

/*==========  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) {

    }


## Bootstrap 4
 
/* 
Extra small devices (portrait phones, less than 544px) 
No media query since this is the default in Bootstrap because it is "mobile first"
*/
 
 
/* Small devices (landscape phones, 544px and up) */
@media (min-width: 544px) {  
 
}
 
/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 768px) {  
 
}
 
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) { 
 
}
 
/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {  
    
}

以上是关于markdown Bootstrap Media Breakpoints的主要内容,如果未能解决你的问题,请参考以下文章

Bootstrap @media 打印响应表

Bootstrap @media 并在屏幕大小上更改 css

Bootstrap 3 class="media-body" 导致图像不显示

css Bootstrap Media CSS |萨斯

css Bootstrap Media Width

bootStrap @media 用法