flex布局固定几行
时间: 2023-10-15 09:22:56 浏览: 88
根据引用中的描述,当主轴为水平方向时,通过设置 flex-wrap: wrap 的属性来固定布局的行数。所以,flex布局可以固定多行。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [Flex 布局教程:实例篇](https://blog.csdn.net/weixin_51341611/article/details/129684207)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [flex布局](https://blog.csdn.net/kuxingseng123/article/details/129367925)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文