Currently, I am working with bootstrap4 and facing an issue where I need the first div column to float right on medium devices and above. However, on mobile devices, it should be shown first. This was easily achievable in bootstrap3 using a structure like the one below. But with bootstrap4 now utilizing flexbox, it doesn't seem to work as expected. Does anyone have any suggestions on how to achieve this layout?
<div class="row">
<div class="col-12 col-md-8 float-right">
//DISPLAY RIGHT BANNER HERE
</div>
<div class="col-12 col-md-4">
//INCLUDE SOME CONTENTS
</div>
</div>