I have been attempting to eliminate the vertical space between rows in a thumbnail grid, similar to how I did for horizontal spacing, but have not been successful.
.gutter-0.row {
margin-right: 0;
margin-left: 0;
/* not working */
margin-top: 0;
margin-bottom: 0;
}
.gutter-0 > [class^="col-"], .gutter-0 > [class^=" col-"] {
padding-right: 0;
padding-left: 0;
/* not working */
padding-top: 0;
padding-bottom: 0;
}
HTML
<div class="row gutter-0">
<div class="col-md-4">
<div class="thumbnail">
<img src="http://placehold.it/200x200" alt="">
</div>
</div>
<div class="col-md-4">
<div class="thumbnail">
<img src="http://placehold.it/200x200" alt="">
</div>
</div>
<div class="col-md-4">
<div class="thumbnail">
<img src="http://placehold.it/200x200" alt="">
</div>
</div>
</div>
<div class="row gutter-0">
<div class="col-md-4">
<div class="thumbnail">
<img src="http://placehold.it/200x200" alt="">
</div>
</div>
<div class="col-md-4 col-sm-4">
<div class="thumbnail">
<img src="http://placehold.it/200x200" alt="">
</div>
</div>
<div class="col-md-4 col-sm-4">
<div class="thumbnail">
<img src="http://placehold.it/200x200" alt="">
</div>
</div>
</div>
Is there another way to achieve this? Thank you