Answers for "bootstrap card examples"

2

bootstrap card change image

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

.card class

<style>
    .card {
      border: 1px solid #ccc;
      background-color: #f4f4f4;
      padding: 20px;
      margin-bottom: 10px;
    }
  </style>
Posted by: Guest on October-02-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
1

cards bootstrap examples

<div class="card" style="width: 18rem;">
  <img src="..." class="card-img-top" alt="...">
  <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 April-29-2020
1

responsive card header

<div class="card" style="width: 18rem;">
  <div class="card-header">
    Featured
  </div>
  <ul class="list-group list-group-flush">
    <li class="list-group-item">Cras justo odio</li>
    <li class="list-group-item">Dapibus ac facilisis in</li>
    <li class="list-group-item">Vestibulum at eros</li>
  </ul>
</div>
Posted by: Guest on November-14-2020
0

cards bootstrap examples

<div class="card" style="width: 18rem;">
 
</div>
Posted by: Guest on May-28-2021

Browse Popular Code Answers by Language