bootstrap 4 card image size not full card code example
Example: bootstrap card change image
.card-img-top {
width: 100%;
height: 15vw;
object-fit: cover;
}
.card-img-top {
width: 100%;
height: 15vw;
object-fit: cover;
}