is now part of Shuffle™. The new editor includes templates for Bootstrap, Bulma, Material-UI, and Tailwind CSS.
Switch to Shuffle →

Bootstrap 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

Some more card content
Card image cap

Tips 💡

Sass 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);
}

Uses variables

Code copied to the clipboard.

Copying failed

/* _card.scss:133 */
$card-inner-border-radius

More in Bootstrap Cards