I am using BS v5 and i ran into a small issue i have s simple two column row with image and text.
I want image to show in second column on large screen and show are first column in md & Large screen.
<div class="container">
<div class="row">
<div class="col-lg-6 order-last">
<img src="https://www.sobharealty.com/lp-properties-in-dubai/images/lp-2021/desk-img-19May2021.jpg" >
</div>
<div class="col-lg-6">
<span>FIRST COL</span>
<span>I want image on first on mobile screen i am using order-X or order-last etc feature of BS v5 but it keeps the order same it doesnt change, i read somewhere order will not change based on css on small screen based on orderclass</span>
</div>
</div>
</div>
https://codepen.io/KGuide/pen/LYWBrMy
How can i achieve this am i doing something wrong.
I tried using combination of order-last, order-first, order-x but they dont work. they keep the same order despite screen size