"Thumbnails like Bootsnipp"
Bootstrap 2.3.2 Snippet by msurguy

<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/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-fluid"> <div class="row-fluid"> <div class="span9"> <ul class="thumbnails"> <li class="span4"> <div class="thumbnail"> <img src="http://placehold.it/320x200" alt="ALT NAME"> <div class="caption"> <h3>Header Name</h3> <p>Description</p> <p align="center"><a href="http://bootsnipp.com/" class="btn btn-primary btn-block">Open</a></p> </div> </div> </li> <li class="span4"> <div class="thumbnail"> <img src="http://placehold.it/320x200" alt="ALT NAME"> <div class="caption"> <h3>Header Name</h3> <p>Description</p> <p align="center"><a href="http://bootsnipp.com/" class="btn btn-primary btn-block">Open</a></p> </div> </div> </li> <li class="span4"> <div class="thumbnail"> <img src="http://placehold.it/320x200" alt="ALT NAME"> <div class="caption"> <h3>Header Name</h3> <p>Description</p> <p align="center"><a href="http://bootsnipp.com/" class="btn btn-primary btn-block">Open</a></p> </div> </div> </li> <li class="span4"> <div class="thumbnail"> <img src="http://placehold.it/320x200" alt="ALT NAME"> <div class="caption"> <h3>Header Name</h3> <p>Description</p> <p align="center"><a href="http://bootsnipp.com/" class="btn btn-primary btn-block">Open</a></p> </div> </div> </li> <li class="span4"> <div class="thumbnail"> <img src="http://placehold.it/320x200" alt="ALT NAME"> <div class="caption"> <h3>Header Name</h3> <p>Description</p> <p align="center"><a href="http://bootsnipp.com/" class="btn btn-primary btn-block">Open</a></p> </div> </div> </li> <li class="span4"> <div class="thumbnail"> <img src="http://placehold.it/320x200" alt="ALT NAME"> <div class="caption"> <h3>Header Name</h3> <p>Description</p> <p align="center"><a href="http://bootsnipp.com/" class="btn btn-primary btn-block">Open</a></p> </div> </div> </li> </ul> </div> </div> </div>
.row-fluid ul.thumbnails li.span12 + li { margin-left : 0px;clear:left } .row-fluid ul.thumbnails li.span6:nth-child(2n + 3) { margin-left : 0px;clear:left } .row-fluid ul.thumbnails li.span4:nth-child(3n + 4) { margin-left : 0px;clear:left } .row-fluid ul.thumbnails li.span3:nth-child(4n + 5) { margin-left : 0px; clear:left} .row-fluid ul.thumbnails li.span2:nth-child(6n + 7) { margin-left : 0px;clear:left } .row-fluid ul.thumbnails li.span1:nth-child(12n + 13) { margin-left : 0px;clear:left }

Related: See More


Questions / Comments: