"Card2"
Bootstrap 3.0.0 Snippet by vitasarts

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
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="container">
<div class="card hovercard">
<img src="http://placehold.it/300x200/000000/&text=Header" alt=""/>
<div class="avatar">
<img src="http://placehold.it/80X80/333333/&text=Head" alt="" />
</div>
<div class="info">
<div class="title">
The Title
</div>
<div class="desc">Lorem ipsum</div>
<div class="desc">Lorem ipsum</div>
<div class="desc">Lorem ipsum</div>
</div>
<div class="bottom">
<button class="btn btn-default">Button</button>
</div>
</div>
</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 {
padding-top: 20px;
margin: 10px 0 20px 0;
background-color: #ffffff;
border: 1px solid #d8d8d8;
border-top-width: 0;
border-bottom-width: 2px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.card.hovercard {
position: relative;
width: 300px;
padding-top: 0;
overflow: hidden;
text-align: center;
background-color: #fff;
}
.card.hovercard img {
width: 300px;
height: 200px;
}
.card.hovercard .avatar {
position: relative;
top: -40px;
margin-bottom: -40px;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: