flex-direction: row
时间: 2023-08-25 18:14:06 浏览: 99
flex-container:使用Flex
flex-direction: row是flex布局中主轴方向为水平方向的属性值。在这个布局中,子项会从左往右依次排列。 例如,如果一个容器的主轴方向为row,容器内有三个子项,它们会依次从左到右排列。 这个属性值是flex布局的默认值,所以在不设置具体的flex-direction属性时,默认就是row。<em>1</em><em>2</em><em>3</em>
#### 引用[.reference_title]
- *1* [flex弹性布局教程-07容器属性flex-direction](https://blog.csdn.net/chenjiebin/article/details/120423730)[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^v92^chatsearchT3_1"}} ] [.reference_item]
- *2* [flex布局常见属性](https://blog.csdn.net/weixin_49494195/article/details/108272812)[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^v92^chatsearchT3_1"}} ] [.reference_item]
- *3* [Flex布局常见父项属性(一)- flex-direction](https://blog.csdn.net/JHY97/article/details/122313985)[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^v92^chatsearchT3_1"}} ] [.reference_item]
[ .reference_list ]
阅读全文