Card
Use the .card class to create a card. You can also use the
Cards
Card title
Some quick example text to build on the card title and make up the bulk of the card’s content.
Go somewhere
<div class="card" style="width: 18rem;">
<img src="../assets/images/banner/banner-1.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>
Cards-content
This is some text within a card body.
<div class="card">
<div class="card-body">
This is some text within a card body.
</div>
</div>
Cards Data
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
<div class="card" style="width: 18rem;">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<h6 class="card-subtitle mb-2 text-body-secondary">Card subtitle</h6>
<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="card-link">Card link</a>
<a href="#" class="card-link">Another link</a>
</div>
</div>
Cards-image
Some quick example text to build on the card title and make up the bulk of the card’s content.
<div class="card" style="width: 18rem;">
<img src="../assets/images/banner/banner-1.jpg" class="card-img-top" alt="...">
<div class="card-body">
<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>
</div>
</div>
Cards-lists
Featured
- An item
- A second item
- A third item
<div class="card" style="width: 18rem;">
<div class="card-header">
Featured
</div>
<ul class="list-group list-group-flush">
<li class="list-group-item">An item</li>
<li class="list-group-item">A second item</li>
<li class="list-group-item">A third item</li>
</ul>
</div>