Bootstrap pull and push: Float right div to top on mobile view

0 votes
380 views
added Aug 9, 2017 in Bootstrap by Callum Sergeant (1,440 points)
edited Aug 24, 2018 by LC Marshal
<div class="container-fluid">
 <div class="row">
  <div class="col-md-5 col-md-push-7">
    pull right
  </div>

  <div class="col-md-7 col-md-pull-5">
    push left
  </div>
 </div>
</div>

1 Response

0 votes
responded Aug 24, 2018 by LC Marshal Captain (25,790 points)
<div>
  <div class="m-map col-md-8 col-sm-5 col-md-push-4 col-sm-push-7">
    <div>1</div>
  </div>
  <div class="m-map col-md-4 col-sm-7 col-md-pull-8 col-sm-pull-5">
   <div>2</div>
  </div>
</div>

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...