/* row 默认值 主轴修改为x轴水平排列 */
flex-direction: row;
/* row-reverse 主轴修改为x轴,反方向排列盒子 */
flex-direction: row-reverse;
/*column 重点 主轴更换为y轴垂直排列*/
flex-direction: column;
/* column-reverse 主轴修改为y轴,反方向排列盒子 */
flex-direction: column-reverse;
/* 主轴对齐方式 */
justify-content: center;
/* 侧轴对齐方式 */
align-items: center;
flex改变主轴的属性值
最新推荐文章于 2023-11-29 22:05:53 发布