I would like to use flex-direction:column for a specific layout.
I usually use standard flex-direction:row , so I am having trouble using column . I donβt know too much how to control it, and did not find anything useful on Google.
I have a regular UL list and I want:
1 3 5 7 2 4 6
I am currently getting the following:
1 2 3 4 5 6 7
My current simplified code:
.ul{ display: flex; flex-direction: column; li{ width: 25%; } }
source share