Answers for "html cards bootsnippet"

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

Browse Popular Code Answers by Language