On small devices, I would like to display "Cards" in single lines -> image on the left side and the name and description on the right. On larger devices I would like to have several cards side by side -> picture on top and title with description underneath.
The image above with the text below works fine for me, anyway I am not able to swap the image to the left and the text to the right.
This is my code so far:
<div class='col'>
<div class='card h-100'>
<div class='col-4 col-md-12'>
<img src='...' class='img-fluid rounded-start' alt='...'>
</div>
<div class='col-8 col-md-12'>
<div class='card-body'>
<h5 class='card-title'>Title</h5>
<p class='card-text'>Description</p>
</div>
</div>
</div>
</div>
On small devices I get the col-4 for image and col-8 text set correctly but they still stay below each other, and I don't see reason why.