<img class="img-fluid" src="" alt=""> //This will make your image responsive

image responsive bootstrap 4

.food1 img { width:100%; height: 230px; }

bootstrap image size

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

bootstrap image size

Similar Code Examples