...

/

Order and Wrap

Order and Wrap

Understand various utilities for controlling, ordering, and wrapping items in the flexbox.

We'll cover the following...

Property

The next most important property of the flexbox is whether it will wrap, which is a property of the parent of the box. The default is not to wrap, .flex-no-wrap, but if we specify .flex-wrap, then our row container will automatically move items to the next row if the item would overflow the main axis of the container. Normally, that would be going over the width of a row flexbox, but we could also explicitly set the height of a column box and have it wrap. If we want to ...