I just finished working on this codepen project.
The layout consists of one row with three columns, which are dynamically created. Sometimes the number of columns is even, other times it's odd.
When the number of columns is even, everything looks great!
See for yourself in this example
However, when there's an odd number of columns, like in the first scenario, the third column ends up being awkwardly positioned under the first row. How can I fix this?
Is there a way to detect when there are odd numbers of columns in a row, so that only that specific row defaults to aligning items at the start instead of centering them? This would ensure that
THE THIRD COLUMN IS PLACED BELOW THE FIRST ONE
.