Flexbox布局中的`flex-wrap`属性允许flex子元素在需要时换行。在示例中,`.container`设置了`flex-wrap: wrap;`,使得`.item`在容器宽度不足时自动换行...
2024-05-01 54 flex 换行 flex-wrap 元素 宽度 布局