I'm having trouble with a bootstrap layout.
Here is the layout I need to achieve on different screen sizes:
On mobile, I want: Title Image Text
And on desktop, I want: Image Title Text
However, the title div always takes up the image height, making it impossible to position the text below it. Any help would be greatly appreciated! Thank you!
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" rel="stylesheet"/>
<div class="container">
<div class="row">
<div class="col-lg-5 order-lg-2">
<h2>Title</h2>
</div>
<div class="col-lg-7 order-lg-1">
<img src="https://lorempixel.com/400/200" lass="img-fluid" alt=""/>
</div>
<div class="col-lg-5 order-lg-3">
<h3>Cyprum itidem insulam</h3>
<p>procul a continenti discretam et portuosam inter municipia crebra urbes duae faciunt claram Salamis Post quorum necem nihilo lenius ferociens Gallus ut leo cadaveribus pastus multa huiuPost quorum necem nihilo lenius ferociens Gallus ut leo cadaveribus pastus multa huius modi scrutabatur. quae singula narrare non refert, me professione modum, quod evitandum est, excedamus.s modi</p>
</div>
</div>
</div>