My elements are floated with a width of 20%, resulting in 5 elements per line.
The current arrangement looks like this:
1 2 3 4 5
6 7 8 9 10
11 12 13 14 15
Now, I want to reorganize them vertically as follows:
1 4 7 10 13
2 5 8 11 14
3 6 9 12 15
I'm unsure how to achieve this layout. Can it be done with CSS alone or do I need PHP or JS?