"GeoCard"
Bootstrap 3.3.0 Snippet by RedSerenityDev

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
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.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="row">
<div class="col-md-4 geo-stats">
<div class="row">
<div class="col-md-12 image-fit">
<img class="img-responsive" src="http://lorempixel.com/output/nature-q-c-640-480-10.jpg" />
</div>
</div>
<div class="row">
<div class="col-md-4">
<h3>Latitude</h3>
<h4>40.1356</h4>
</div>
<div class="col-md-4">
<h3>Longitude</h3>
<h4>-78.3658</h4>
</div>
<div class="col-md-4">
<h3>Elevation</h3>
<h4>9,367ft</h4>
</div>
</div>
</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
.geo-stats {
text-align: center;
background-color: #EEEEEE;
margin-top: 1em;
}
.geo-stats h3 {
font-weight: 300;
}
.geo-stats h4 {
font-weight: 300;
color: #8b8b8b;
}
.geo-stats .image-fit {
height: 12em;
overflow: hidden;
padding: 0;
}
.image-fit img {
position: absolute;
top: -40%;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: