"lifted card"
Bootstrap 4.0.0 Snippet by Peter1975

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="row">
<div class="card-container centermx drop-shadow lifted">
<div class="card">
<div class="card-header ">
Featured
</div>
<div class="card-body">
<p>Lifted corners</p>
</div>
<div class="card-footer condensed">
This is a muted footer
</div>
</div>
</div>
<div class="card-container centermx drop-shadow lifted">
<div class="card">
<div class="card-header ">
Featured
</div>
<div class="card-body">
<p>Lifted corners</p>
</div>
<div class="card-footer condensed">
This is a muted footer
</div>
</div>
</div>
<div class="card-container centermx drop-shadow lifted">
<div class="card">
<div class="card-header ">
Featured
</div>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
.card-container{
width: 400px;
height: 200px;
border: none;
padding: none;
margin: 10px 10px 10px 10px;
}
.card{
width: 400px;
height: 200px;
z-index: 10;
}
.centermx{
margin-left:auto;
margin-right: auto;
}
.card-header {
font-size: 18px;
line-height: 0.6rem;
font-weight: bold;
text-align: center;
border-bottom: none;
background-color: #CCF;
}
.card-body{
padding: 5px 10px 5px 10px;
}
.card-footer {
font-size: 12px;
line-height: 0.2rem;
font-weight: bold;
text-align: center;
border-top: none;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: