Answers for "bootstrap image fit to div"

0

bootstrap 4 image fit to div

<div class="container">
    <div class="col-md-4 px-0">
        <img src="images/food1.jpg" class="img-fluid">
    </div>
</div>
Posted by: Guest on September-23-2021
-1

bootstrap image size

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

bootstrap image size

.top1 {
    height:390px;
    background-color:#FFFFFF;
    margin-top:10px;
    overflow: hidden;
}

.top1 img {
    height:100%;
}
Posted by: Guest on March-23-2020

Code answers related to "bootstrap image fit to div"

Browse Popular Code Answers by Language