Bootstrap CSS Classes

Bootstrap CSS class .card-body

<div class="card">
  <div class="card-body">
    This is some text within a card block.
  </div>
</div>

Preview

CSS source

/* _card.scss:34 */
.card-body {
  // Enable `flex-grow: 1` for decks and groups so that card blocks take up
  // as much space as possible, ensuring footers are aligned to the bottom.
  flex: 1 1 auto;
  padding: $card-spacer-x;
}

Check .card-body 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.