I'm working with a code structure that features columns containing full-width images.
<div class="col-3">
<img src="..." class="w-100" />
<div>Name</div>
</div>
Due to the variance in image sizes, there's no guarantee that the content below the images will be displayed in a single line (the height of the image is expected to vary based on its width).
In essence, if an image inside a .col
has a width of 200px, its height should also be 200px (width equals height).