[代码:]
<div class="col-sm-12 col-xs-12 text-left">
<div class="col-sm-3 col-xs-12"></div>
<div class="col-sm-3 col-xs-4"></div>
<div class="col-sm-3 col-xs-4"></div>
<div class="col-sm-3 col-xs-4"></div>
</div>
here is my code,and review in a middle window:
when I change the window to xs,And I want to achieve that:
请帮帮我,tks
答案 0 :(得分:2)
你需要将该div放在最后,然后在同一行上使用push和pull来重新排列列。
<div class="col-sm-12 col-xs-12 text-left">
<div class="col-sm-3 col-sm-push-3 col-xs-4">4</div>
<div class="col-sm-3 col-sm-push-3 col-xs-4">4</div>
<div class="col-sm-3 col-sm-push-3 col-xs-4">4</div>
<div class="col-sm-3 col-sm-pull-9 col-xs-12">12</div>
</div>
完成