Answers for "order columns in bootstrap"

1

ordering collumns in bootstrap

<div class="container">
  <div class="row">
    <div class="col">
      First, but unordered
    </div>
    <div class="col order-12">
      Second, but last
    </div>
    <div class="col order-1">
      Third, but first
    </div>
  </div>
</div>
Posted by: Guest on September-15-2020
1

change order columns bootstrap

<div class="row">
    <div class="col-md-3">
        sidebar
    </div>
    <div class="col-md-9 ">
        main
    </div>
</div>

//  CSS

.row{
   display: flex;
    flex-flow: column-reverse;
     }
Posted by: Guest on August-01-2020

Browse Popular Code Answers by Language