bootstarp card image code example
Example 1: bootstrap card change image
.card-img-top {
width: 100%;
height: 15vw;
object-fit: cover;
}
Example 2: card bootstrap
<div class="card card-inverse">
<img class="card-img" src="..." alt="Card image">
<div class="card-img-overlay">
<h4 class="card-title">Card title</h4>
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
<p class="card-text"><small class="text-muted">Last updated 3 mins ago</small></p>
</div>
</div>