center card in bootstrap stack overflow code example
Example 1: center card in bootstrap stack overflow
.card {
margin: 0 auto; /* Added */
float: none; /* Added */
margin-bottom: 10px; /* Added */
}
Example 2: bootstrap card change image
.card-img-top {
width: 100%;
height: 15vw;
object-fit: cover;
}