flex布局固定几列
时间: 2023-10-17 12:26:27 浏览: 104
flex布局代码及语法讲解
根据引用中提到的“Flex布局中固定行和列”的内容,可以得知在Flex布局中可以通过使用tableFixer插件来固定列数。具体来说,可以通过设置left属性来控制需要固定的列数。举例来说,如果要固定2列,可以通过以下代码实现:$(".fixed-table").tableFixer({'left' : 2});。
因此,Flex布局可以通过使用tableFixer插件来实现固定列数的效果。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [CSS - Flex布局](https://blog.csdn.net/Jie_1997/article/details/109198307)[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: 33.333333333333336%"]
- *2* [display:flex 多栏多列布局](https://blog.csdn.net/weixin_28949049/article/details/111944614)[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: 33.333333333333336%"]
- *3* [PickingCar.vue](https://download.csdn.net/download/weixin_42805301/12270542)[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: 33.333333333333336%"]
[ .reference_list ]
阅读全文