Currently, I am studying Scss and experimenting with creating an Image gallery using SASS.
I am attempting to utilize only one div tag for the entire image gallery as a row, avoiding the need for a new div for each row.
Would it be feasible to achieve this by taking only one div as a row and styling the rows accordingly?
Your suggestions on optimizing this process would be highly appreciated.
<div class="image-gallery-items">
<div class="image-gallery-item">
<a href="" class="thumbnail">
<img src="https://images.unsplash.com/photo-1589682642146-26ac8262b3c0?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1650&q=80">
</a>
</div>
(repeated image gallery items)
</div>
As seen from the code above, all images are currently displayed in a single line. How can I improve this layout?