Cards
Bootstrap’s cards provide a flexible and extensible content container with multiple variants and options. View more Card's
<div class="card" style="width: 18rem;">
<img src="../assets/images/gallery/16.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
Card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Go somewhereBody
The building block of a card is the .card-body
. Use it whenever you need a padded section within a card.
This is some text within a card body.
Titles, text, and links
Card titles are used by adding .card-title
to a <h*>
tag. In the same way, links are added and placed next to each other by adding .card-link
to an <a>
tag.
Card title
Card subtitle
Some quick example text to build on the card title and make up the bulk of the card's content.
Card link Another link