bootstrap 4 how to code max-width: 10% of an image to show on small screens code example
Example: bootstrap Image thumbnails
In addition to our border-radius utilities, you can use
.img-thumbnail to give an image a rounded 1px border appearance.
<img src="..." alt="..." class="img-thumbnail">