CSS flex-wrap property
CSS flex-wrap determines whether the content flows across one line or multiple lines and direction of cross-axis. The cross-axis determines the direction in which new lines are stacked in.
flex-wrap : nowrap | wrap | wrap-reverse
The content flows across one line within flex-container.
The content flows across multiple lines within flex-container.
The content flows across multiple lines and the lines are stacked in reverse order i.e. the cross-axis is reversed.
It applies to flex containers.
Was this article helpful?