1 <div class="card" style="width:400px">
2 <img class="card-img-top" src="img_avatar1.png" alt="Card image" style="width:100%">
3 <div class="card-body">
4 <h4 class="card-title">John Doe</h4>
5 <p class="card-text">Some example text some example text. John Doe is an architect and engineer</p>
6 <a href="#" class="btn btn-primary">See Profile</a>
7 </div>
8 </div>
1<style>
2 .card {
3 border: 1px solid #ccc;
4 background-color: #f4f4f4;
5 padding: 20px;
6 margin-bottom: 10px;
7 }
8 </style>
1<div class="card" style="width: 18rem;">
2 <img class="card-img-top" src="..." alt="Card image cap">
3 <div class="card-body">
4 <h5 class="card-title">Card title</h5>
5 <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>
6 <a href="#" class="btn btn-primary">Go somewhere</a>
7 </div>
8</div>
1<div class="card" style="width: 18rem;">
2 <img src="..." class="card-img-top" alt="...">
3 <div class="card-body">
4 <h5 class="card-title">Card title</h5>
5 <p class="card-text">Some quick example text to build on the card
6 title and make up the bulk of the card's content.</p>
7 <a href="#" class="btn btn-primary">Go somewhere</a>
8 </div>
9</div>
1<div class="card" style="width: 18rem;">
2 <img src="..." class="card-img-top" alt="...">
3 <div class="card-body">
4 <h5 class="card-title">Card title</h5>
5 <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>
6 <a href="#" class="btn btn-primary">Go somewhere</a>
7 </div>
8</div>