cards in bootstrap

Solutions on MaxInterview for cards in bootstrap by the best coders in the world

showing results for - "cards in bootstrap"
Len
01 Apr 2017
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>
Caterina
25 Mar 2019
1.card-img-top {
2    width: 100%;
3    height: 15vw;
4    object-fit: cover;
5}
Athénaïs
19 Oct 2016
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>
Paola
11 Nov 2017
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>
Angelo
15 Jul 2017
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>
Cloé
14 Sep 2018
1<html lang="en">
2
3<head>
4  <meta charset="UTF-8">
5  <meta name="viewport" content="width=device-width, initial-scale=1">
6  <meta http-equiv="X-UA-Compatible" content="ie=edge">
7  <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
8
9  <body>
10    <div class="container">
11      <div class="row">
12        <div class="col-4">
13          <div class="card">1</div>
14        </div>
15        <div class="col-4">
16          <div class="card">1</div>
17        </div>
18        <div class="col-4">
19          <div class="card">1</div>
20        </div>
21      </div>
22    </div>
23  </body>
24
25</html>
similar questions
queries leading to this page
cards in bootstrap