"GeoCard"
Bootstrap 3.3.0 Snippet by RedSerenityDev

<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>
.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%; }

Related: See More


Questions / Comments: