【问题标题】:Bootstrap 3 grid collapse orderBootstrap 3网格折叠顺序
【发布时间】:2014-07-04 12:45:15
【问题描述】:

有没有一种简单的方法来排序列在 bootstrap 3 网格中的折叠方式?

这就是我所拥有的:

<div class='row'>
<div class='col-sm-8'>
    <div class='box'>
        This will be on the left on large screens but on the bottom on smaller screens.
    </div>
</div>
<div class='col-sm-4'>
    <div class='box'>

    </div>
</div>

【问题讨论】:

    标签: twitter-bootstrap twitter-bootstrap-3


    【解决方案1】:

    您将首先制作您的移动(最小)布局,然后推/拉较大尺寸..

    <div class="container">
      <div class="row">
        <div class="col-sm-4 col-sm-push-8">
            <div class="box">
                4
            </div>
        </div>
        <div class="col-sm-8 col-sm-pull-4">
            <div class="box">
                This will be on the left on large screens but on the bottom on smaller screens.
            </div>
        </div>
      </div>
    

    演示:http://www.bootply.com/gH5Ua0iy6i

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-08-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-06-06
      • 2016-08-06
      • 2014-12-08
      • 2013-10-12
      相关资源
      最近更新 更多