Answers for "img-fluid size"

CSS
-1

img-fluid bootstrap

<img class="img-fluid" src="" alt=""> //This will make your image responsive
Posted by: Guest on June-28-2020
1

bootstrap Aligning images

Align images with the helper float classes or text alignment classes.
block-level images can be centered using the .mx-auto margin utility class.

<img src="..." class="rounded float-left" alt="...">
<img src="..." class="rounded float-right" alt="...">
<img src="..." class="rounded mx-auto d-block" alt="...">
Posted by: Guest on October-23-2020

Browse Popular Code Answers by Language