flow:vertical-flow

All list items here have width:150 and various heights. If element doe not fit into the container it will be wrapped to next column.

Column will wrap: if sum of vertical flexes in the row > 1* (100%%) or if not enough vertical space in the column.

Resize the window vertically to see column wrapping.