CSS Flecbox: flex-wrap
flex-wrap
is a CSS property that controls whether flex items are forced onto a single line or can wrap onto multiple lines within a flex container.
Syntax
flex-wrap: nowrap; (default)
flex-wrap: wrap;
flex-wrap: wrap-reverse;
See the Pen Flexbox: flex-wrap by majadc (@majadc) on CodePen.
Related
- CSS Flexible Box Layout
- CSS Flexbox: flex-direction
- CSS Flexbox: justify-content
- CSS Flexbox: align-items
- CSS Flexbox: align-content