Answers for "img class responsive"

3

responsive image in css

.responsive_img {
    width: 100%;
    height: auto;
    object-fit: cover;
    /* Prevent the image from stretching. So it crops the image to prevent from awkward stretching */
}
Posted by: Guest on May-29-2021
0

bootstrap img src

<img src="..." class="rounded mx-auto d-block" alt="...">
Posted by: Guest on December-14-2020

Code answers related to "img class responsive"

Browse Popular Code Answers by Language