Answers for "image size in bootstrap 5"

-1

image responsive bootstrap 4

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

bootstrap image size

.food1 img {
    width:100%;
    height: 230px;
}
Posted by: Guest on March-23-2020
0

how to stretch image in size using bootstrap

you have to set the width of image to 100%, for that you can use Bootstrap class "w-100". keep in mind that "container-fluid" and "col-12" class sets left and right padding to 15px and "row" class sets left and right margin to "-15px" by default. make sure to set them to 0.
Posted by: Guest on April-22-2021

Browse Popular Code Answers by Language