↩ Flex Wrap
Control whether items are forced onto one line or can wrap.
The flexWrap property controls what happens when items don't fit in a single line along the main axis.
Values
| Value | Description |
|---|---|
NoWrap | Default. All items are forced onto one line. They may shrink (if flexShrink is set) or overflow the container. |
Wrap | Items wrap onto multiple lines if needed, from top to bottom. |
WrapReverse | Items wrap onto multiple lines, from bottom to top. |
Example
Loading Preview…