css 来自http://stackoverflow.com/questions/26939104/clear-rows-when-doing-multi-responsive-columns-boo
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了css 来自http://stackoverflow.com/questions/26939104/clear-rows-when-doing-multi-responsive-columns-boo相关的知识,希望对你有一定的参考价值。
@media (min-width:1200px){
.auto-clear .col-lg-1:nth-child(12n+1){clear:left;}
.auto-clear .col-lg-2:nth-child(6n+1){clear:left;}
.auto-clear .col-lg-3:nth-child(4n+1){clear:left;}
.auto-clear .col-lg-4:nth-child(3n+1){clear:left;}
.auto-clear .col-lg-6:nth-child(odd){clear:left;}
}
@media (min-width:992px) and (max-width:1199px){
.auto-clear .col-md-1:nth-child(12n+1){clear:left;}
.auto-clear .col-md-2:nth-child(6n+1){clear:left;}
.auto-clear .col-md-3:nth-child(4n+1){clear:left;}
.auto-clear .col-md-4:nth-child(3n+1){clear:left;}
.auto-clear .col-md-6:nth-child(odd){clear:left;}
}
@media (min-width:768px) and (max-width:991px){
.auto-clear .col-sm-1:nth-child(12n+1){clear:left;}
.auto-clear .col-sm-2:nth-child(6n+1){clear:left;}
.auto-clear .col-sm-3:nth-child(4n+1){clear:left;}
.auto-clear .col-sm-4:nth-child(3n+1){clear:left;}
.auto-clear .col-sm-6:nth-child(odd){clear:left;}
}
@media (max-width:767px){
.auto-clear .col-xs-1:nth-child(12n+1){clear:left;}
.auto-clear .col-xs-2:nth-child(6n+1){clear:left;}
.auto-clear .col-xs-3:nth-child(4n+1){clear:left;}
.auto-clear .col-xs-4:nth-child(3n+1){clear:left;}
.auto-clear .col-xs-6:nth-child(odd){clear:left;}
}
以上是关于css 来自http://stackoverflow.com/questions/26939104/clear-rows-when-doing-multi-responsive-columns-boo的主要内容,如果未能解决你的问题,请参考以下文章
css 用于pandoc的CSS,来自markdown语法。
来自 CSS Intellij 的自动完成 HTML 属性
css APP-transitional.css。来自Project 3的CSS Grid样式表。
css CSS:媒体查询(来自stephen.io的bootstrap +移动设备)
CSS知识点合集---来自安阳某师范!
继承/覆盖来自不同外部文件的现有 CSS 规则