Flex是一维布局,处理横向或纵向排列。display:flex后,子元素用justify-content主轴对齐,align-items交叉轴对齐。
父容器属性:flex-direction、flex-wrap、justify-content、align-items。
Flex是一维布局,处理横向或纵向排列。display:flex后,子元素用justify-content主轴对齐,align-items交叉轴对齐。
父容器属性:flex-direction、flex-wrap、justify-content、align-items。

