I have to create a 5 column grid in Bootstrap 4 to show over 100 images. The code below works ONLY if I have 5 items. How can I go about it?
PS: It must change 2 column grid on mobile screen.
I understand there's a lot of duplicate with correctly marked answer but there's no actual solution to it when I have more than 5 column.
JSFiddle Demo: https://jsfiddle.net/fwg2os0h/
<div class="row">
<div class="col">
1
</div>
<div class="col">
2
</div>
<div class="col">
3
</div>
<div class="col">
4
</div>
<div class="col">
5
</div>
<div class="col">
6
</div>
<div class="col">
7
</div>
<div class="col">
8
</div>
<div class="col">
9
</div>
<div class="col">
10
</div>
</div>