CSS flex-wrap Property

The css flex-wrap property controls whether the flex container is single-line or multi-line, and the direction of the cross-axis, which determines the direction in which new lines are stacked.

Syntax for flex-wrap property

nowrap | wrap | wrap-reverse | initial | inherit