Help:Wiki University Flexbox - Flex Wrapping

<< Last Chapter Next Chapter >>

Flex wrapping - flex-wrap:wrap

Here is one of the real beauties of Flexbox, the ability to "wrap" when there is not enough horizontal space to fix all the items in a row in a container. Here is a Flexbox element to do that: flex-wrap:wrap

To see the effect, drag the right edge of this page to the left.

Main Page Research Help Wiki Help Get Involved You will see the boxes begin to stack under each other as the width decreases. Here is the coding:  Main Page Research Help Wiki Help Get Involved   NOTICE that this attribute does not work with flex:#. The boxes will just keep shrinking and not wrap. So this attributes works on with set widths.  

This is a very important element! As more and more patrons view the Wiki on devises such as "smart phones or "tablets," it is necessary that our pages will be able to adapt to their view ports. Always keep in mind how your coding will appear on smaller view ports.  This will be a much used attribute.

Try these out

 Exercises

Check your answers

 Quick Quiz

Check your answers << Last Chapter Next Chapter >>