"image grid"
Bootstrap 3.3.0 Snippet by walifaizy

<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 ----------> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"> <div class="container-fluid"> <div class="row"> <div class="col-xs-6 col-md-12 portfolio"><a href="#"><img src="http://placehold.it/400x400/c69/fff/?text=Work" alt=""></a><a href="#"><img src="http://placehold.it/400x400/9c6/fff/?text=Work" alt=""></a><a href="#"><img src="http://placehold.it/400x400/69c/fff/?text=Work" alt=""></a><a href="#"><img src="http://placehold.it/400x400/c96/fff/?text=Work" alt=""></a><a href="#"><img src="http://placehold.it/400x400/6c9/fff/?text=Work" alt=""></a><a href="#"><img src="http://placehold.it/400x400/96c/fff/?text=Work" alt=""></a><a href="#"><img src="http://placehold.it/400x400/c69/fff/?text=Work" alt=""></a><a href="#"><img src="http://placehold.it/400x400/9c6/fff/?text=Work" alt=""></a><a href="#"><img src="http://placehold.it/400x400/69c/fff/?text=Work" alt=""></a><a href="#"><img src="http://placehold.it/400x400/c96/fff/?text=Work" alt=""></a><a href="#"><img src="http://placehold.it/400x400/6c9/fff/?text=Work" alt=""></a><a href="#"><img src="http://placehold.it/400x400/96c/fff/?text=Work" alt=""></a></div> </div>
.portfolio { padding: 0 !important; } .portfolio img { height: auto; width: 100%; } @media (min-width: 481px) { .portfolio img { width: 50%; } } @media (min-width: 768px) { .portfolio img { width: 33.33%; } } @media (min-width: 992px) { .portfolio img { width: 25%; } } @media (min-width: 1200px) { .portfolio img { width: 20%; } }

Related: See More


Questions / Comments: