Answers for "how to center bootstrap card"

1

how to make bootstrap cards centered

<div class="mx-auto" style="width: 200px;">
  Centered element
</div>
Posted by: Guest on July-06-2021
1

center card in bootstrap stack overflow

.card {
        margin: 0 auto; /* Added */
        float: none; /* Added */
        margin-bottom: 10px; /* Added */
}
Posted by: Guest on December-13-2020
2

bootstrap card change image

.card-img-top {
    width: 100%;
    height: 15vw;
    object-fit: cover;
}
Posted by: Guest on March-09-2020

Browse Popular Code Answers by Language