Bootstrap CSS Classes

Bootstrap CSS class .card-img-overlay

<div class="card">
  <img class="card-img" src="/placeholder/pictures/image.svg" alt="Card image">
  <div class="card-img-overlay">
    <p class="card-text">I'm text that has a background image!</p>
  </div>
</div>

Preview

CSS source

/* _card.scss:113 */
.card-img-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: $card-img-overlay-padding;
}

Check .card-img-overlay in a real project

Click one of the examples listed below to open the Shuffle Visual Editor with the UI library that uses the selected component.

More Bootstrap CSS classes in Cards category

© 2024 Shuffle. All rights reserved.