Answers for "how to make card center in bootstrap"

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

card center in bootstrap

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

bootstrap + cards

<div class="card" style="width: 18rem;">
  <img class="card-img-top" src="..." alt="Card image cap">
  <div class="card-body">
    <h5 class="card-title">Card title</h5>
    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    <a href="#" class="btn btn-primary">Go somewhere</a>
  </div>
</div>
Posted by: Guest on May-20-2020

Code answers related to "how to make card center in bootstrap"

Browse Popular Code Answers by Language