I have a straightforward layout featuring a 3-column design that consists of a back button, a main content section, and a forward button:
<div class="container h100">
<div class="row align-items-center h100">
<div class="col-sm-2 align-self-center order-1" id="backbutton">
<button>Back</button>
</div>
<div class="col-md-8 align-self-center align-self-stretch" id="main">
<p>Main content</p>
</div>
<div class="col-sm-2 align-self-center order-1" id="backbutton">
<button>Next</button>
</div>
</div>
</div>
If the screen is smaller (like a phone), I want the main content to be on top with the back and next buttons below it in one row (with back on the left and next on the right).
desired layout on a smaller screen
I've attempted using "order-1" and "order-12", but so far, no success. Any recommendations?