My challenge is to create a layout that features a grid of floating divs with horizontal lines under intermediate rows. The catch is that there should not be a line under the last row, and if there is only one row of elements, no line should be displayed.
The issue I'm facing is that the size of the page varies, while my elements always remain the same size. This means that the number of columns can change depending on the screen size.
I understand how to achieve this when the number of columns is constant, but I'm struggling with implementing it for variable columns.
Here's a sketch to illustrate what I'm trying to achieve:
https://i.stack.imgur.com/LB3OV.png I am using bootstrap and wondering if that affects the solution...
If you have any suggestions, please share them. Thank you!