盒子换行
flex-wrap: wrap;
单行侧轴对齐方式
align-items: center;
多行侧轴对齐方式 align-content
多行侧轴盒子居中
align-content: center;
多行盒子从上排列
align-content: start;
多行盒子从下排列
align-content: flex-end;
多行盒子侧轴靠边对齐
align-content: space-between;
多行盒子侧轴1比2垂直对齐
align-content: space-around;
多行盒子侧轴1比1垂直对齐
align-content: space-evenly;
注意:弹性盒子 默认在一行显示不换行
flex多行侧轴对齐方式
最新推荐文章于 2024-01-08 17:48:30 发布