Bootstrap 5 Basic
Bootstrap 5 Flexbox
In Bootstrap 5, Cards are a flexible and extensible content container used to display a wide range of content, including text, images, links, and more. Cards can be customized with different styles and features.
The most simple card contains a title and some content.
Some quick example text to build on the card title and make up the bulk of the card's content.
Go somewhereSome quick example text to build on the card title and make up the bulk of the card's content.
Go somewhereTry it yourself
Try it yourself
You can add a header and footer to a card.
Some quick example text to build on the card title.
Try it yourself
Cards can contain a list group of items.
This is a card with a list group.
Try it yourself
You can add an overlay to a card image using the .card-img-overlay
class.
Try it yourself
For creating a grid of cards that adapt to different screen sizes, use card columns.
Note: card-columns
works like CSS masonry, so it will adapt depending on the available screen size.
This is some text within a card.
Try it yourself
To arrange multiple cards into a grid-like format, you can use .card-deck
(in Bootstrap 4) or .row
and .col
(in Bootstrap 5).
Some quick example text to build on the card title.
Some quick example text to build on the card title.
Some quick example text to build on the card title.
Try it yourself