Byron• 2,290
@byronbyron
Posted
The easiest and quickest way would be to add the bootstrap CDN
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
to inside the <head>
tags and use the .card
, .card-img-top
and .card-body
classes along with other utility classes like .text-center
. https://getbootstrap.com/docs/5.1/components/card/
e.g.
<div class="card" style="width: 18rem;">
<img src="..." class="card-img-top" alt="...">
<div class="card-body text-center">
<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>
0
BGzero3• 60
@BGzero3
Posted
@byronbyron Thank you for the feedback.
0