One
Two
Three
Four
Five
Six
Seven
Eight
Nine
Ten
.box { height: 300px; display: flex; flex-direction: column; flex-wrap: wrap; } .box>* { flex: 1 1 80px; }
One
Two
Three
Four
Five
Six
Seven
Eight
Nine
Ten