I was wondering how to create following thumbnail layout in lg in Bootstrap 4:
I have the following code from this template (https://startbootstrap.com/template-overviews/thumbnail-gallery/) :
<div class="col-lg-6 col-md-4 col-xs-6">
<a href=“link” class="d-block mb-4 h-100">
<img class="img-fluid img-thumbnail" src=“image1.jpg" alt="">
</a>
<div class="col-lg-3 col-md-4 col-xs-6">
<a href=“link” class="d-block mb-4 h-100">
<img class="img-fluid img-thumbnail" src=“image2.jpg" alt="">
</a>
</div>
<div class="col-lg-3 col-md-4 col-xs-6">
<a href=“link” class="d-block mb-4 h-100">
<img class="img-fluid img-thumbnail" src=“image3.jpg" alt="">
</a>
</div>
<div class="col-lg-3 col-md-4 col-xs-6">
<a href=“link” class="d-block mb-4 h-100">
<img class="img-fluid img-thumbnail" src=“image4.jpg" alt="">
</a>
</div>
<div class="col-lg-3 col-md-4 col-xs-6">
<a href=“link” class="d-block mb-4 h-100">
<img class="img-fluid img-thumbnail" src=“image5.jpg" alt="">
</a>
</div>
The problem I am having is the last 2 divs appear under the larger div, which makes sense because of the 12 column grid system. When I place another lg-6 div under the current one there is too much space between the top two smaller thumbnails and the bottom two thumbnails. Same thing happens when I add a line break after the first two smaller thumbnails.
Thanks,
