Can the layout be adjusted so that on desktop, the image is on the right and text on the left in the lower box, but on mobile, the image appears above the text?
https://i.sstatic.net/hbPxa.png
I understand that placing the image tag after the text tag in HTML would position the image to the right, but I want it to display differently on mobile.
HTML:
<div class="box-mission">
<div class="flex-row middle-sm">
<div class="flex-col-sm-5 flex-col-xs-12">
<img src="https://pickaface.net/gallery/avatar/unr_test_161024_0535_9lih90.png">
</div>
<div class="flex-col-sm-7 flex-col-xs-12">
<h3>Lorem ipsum dolor</h3>
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut
labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores
et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.</p>
</div>
</div>
</div>
<div class="box-mission">
<div class="flex-row middle-sm">
<figure class="flex-col-sm-5 flex-col-xs-12">
<img src="https://pickaface.net/gallery/avatar/unr_test_180711_1752_p1n69px.png">
</figure>
<div class="flex-col-sm-7 flex-col-xs-12">
<h3>consetetur sadipscing elitr,</h3>
<p>aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita
kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,
consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
aliquyam erat, sed diam voluptua.</p>
</div>
</div>
</div>
CSS:
.box-mission {
background-color: white;
border-radius: 3px;
margin-bottom: 60px;
padding: 10px 10px 0 10px;
box-shadow: 0px 2px 6px -3px #32435f;
}
Frameworks used: bootstrap: 3.4.1, laravel: 6.0
Looking for suggestions on how to achieve this layout modification. Any ideas?