---
title: Use the flex-wrap Property to Wrap a Row or Column
localeTitle: 使用flex-wrap属性包装行或列
---
## 使用flex-wrap属性包装行或列

将`flex-wrap`属性设置为`wrap`会使列返回到指定的宽度，而gree和black列将被包装到帧的开头。

请注意，将其设置为`wrap-reverse`不会使`#box-container`的灰色空白空间保持在底部，同时更改列顺序。