将flex-wrap属性设置为wrap会使列返回到指定的宽度,而gree和black列将被包装到帧的开头。
flex-wrap
wrap
请注意,将其设置为wrap-reverse不会使#box-container的灰色空白空间保持在底部,同时更改列顺序。
wrap-reverse
#box-container