flex布局 靠近底部
时间: 2023-10-15 09:28:22 浏览: 99
flex布局布局篇
在flex布局中,可以使用align-items属性来将元素靠近底部。align-items属性用于控制flex容器的子元素在交叉轴上的对齐方式。当设置align-items为flex-end时,子元素将会靠近容器的底部。所以,如果你想要将flex布局靠近底部,可以使用align-items: flex-end样式。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [css flex布局常用容器属性总结](https://blog.csdn.net/zemprogram/article/details/90553384)[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_2"}}] [.reference_item style="max-width: 50%"]
- *3* [Flex弹性布局,满足你所有姿势](https://blog.csdn.net/u011513460/article/details/109501171)[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_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文