[code:]
<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:
Please help me,tks
You need to put that div last and then use push and pulls to re-arrange the columns when on the same line.
<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>
P.S. This could also be done with flexbox and order
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With