Bootstrap CSS Classes

Bootstrap CSS class .card-img-bottom

<div class="card">
  <div class="card-body"> Some more card content </div>
  <img class="card-img-bottom" src="/placeholder/pictures/image.svg" alt="Card image cap">
</div>

Preview

Are you tired of writing HTML by hand?

CSS source

/* _card.scss:133 */
.card-img-bottom {
  width: 100%; // Required because we use flexbox and this inherently applies align-self: stretch
  @include border-bottom-radius($card-inner-border-radius);
}

More Bootstrap CSS classes in Cards category

© 2024 Shuffle. All rights reserved.