Is there a way to achieve the following via CSS grid?
- If the number of items is odd, the first column should have 1 more row than the second column.
1 4
2 5
3
- If the number of items is even, the columns should have the same number of rows.
1 3
2 4
Tried using grid-template-rows but the number of rows per column is fixed.