--- id: 587d78ad367417b2b2512afa title: Use the flex-wrap Property to Wrap a Row or Column challengeType: 0 videoUrl: 'https://scrimba.com/p/pVaDAv/cQv9ZtG' forumTopicId: 301114 dashedName: use-the-flex-wrap-property-to-wrap-a-row-or-column --- # --description-- CSS flexbox has a feature to split a flex item into multiple rows (or columns). By default, a flex container will fit all flex items together. For example, a row will all be on one line. However, using the `flex-wrap` property tells CSS to wrap items. This means extra items move into a new row or column. The break point of where the wrapping happens depends on the size of the items and the size of the container. CSS also has options for the direction of the wrap: # --instructions-- The current layout has too many boxes for one row. Add the CSS property `flex-wrap` to the `#box-container` element, and give it a value of `wrap`. # --hints-- The `#box-container` element should have the `flex-wrap` property set to a value of `wrap`. ```js assert($('#box-container').css('flex-wrap') == 'wrap'); ``` # --seed-- ## --seed-contents-- ```html
``` # --solutions-- ```html
```