@media 判断设备大小加载不同的css

来源:互联网 发布:如何找到淘宝达人 编辑:程序博客网 时间:2024/06/10 09:45

@media screen and (min-width:1200px) and (max-width:1960px){

    #page{ width: 1100px; }#content,.div1{width: 730px;}#secondary{width:310px}

}



bootstrap

更高的像素值的屏幕会 使用低像素值的样式。

而如果给高像素值的屏幕设置了样式,则低像素值的则不会使用它的样式。

所以是移动设备优先


还有一个什么列重叠的问题

http://www.runoob.com/bootstrap/bootstrap-grid-system.html

还有一个如果个row里 有一个col-xx-x。然后并列一个 row,这个row会在什么位置

0 0