Currently, I am utilizing Bootstrap 4 framework; however, if it operates effectively on version 3, then it should work seamlessly on v4.
Within a single column, I have incorporated 2 div elements as follows:
<div class="row">
<div class="col-xs-12">
<div>TOP ON DESKTOP, BOTTOM ON MOBILE</div>
<div>BOTTOM ON DESKTOP, TOP ON MOBILE</div>
</div>
</div>
My question is, can I arrange the order of these divs when viewed on a mobile device? It's crucial for me to accomplish this using only Bootstrap classes and ideally avoid utilizing JavaScript.
If achieving this with Bootstrap is not feasible, then I would appreciate any CSS-only solutions provided.