Flex Wrap

The flex wrap property is set on containers and controls what happens when children overflow the size of the container along the main axis. By default children are forced into a single line (which can shrink elements).

If wrapping is allowed items are wrapped into multiple lines along the main axis if needed. wrap reverse behaves the same, but the order of the lines is reversed.

When wrapping lines align content can be used to specify how the lines are placed in the container.

BACK TO OVERVIEW
root