I tried using flexbox and grid, but both cause adjacent rows to increase in height when text wraps.
Ideally I want to keep HTML simple, like this:
<div>
<div>1</div>
<div>2</div>
<div>3</div>
<div>3</div>
<div>5</div>
</div>
Where I would like the first column to fill up first and then second column.
| 1 | 4 |
| 2 | 5 |
| 3 | |
I know one solution is to split data into two arrays and have two isolated columns that stack. However, I was wondering if there was a pure CSS solution to have the same desired result?
Update
Code example: https://codepen.io/labithiotis/pen/RwrYJyr