I'd like to use flex-direction:column
for a specific layout.
I usually use standard flex-direction:row
, so I've got some problems using column
. I don't know too much how to control it and didn't find anything useful on google.
I've got a regular UL
list and what I want is this:
1 3 5 7
2 4 6
What I currently get is this:
1
2
3
4
5
6
7
My current simplified code is this:
.ul{
display: flex;
flex-direction: column;
li{
width: 25%;
}
}