摘要: 基本使用: 父容器的设置: display:flex,默认主轴为row(横轴),父容器内的子元素会横向排列。 flex-direction:row | row-reverse。改变主轴方向使用属性。 justify-content: center,子元素主轴方向居中。 align-item:cent 阅读全文
posted @ 2024-05-03 19:04 青年路的代码工程师 阅读(33) 评论(0) 推荐(0)