代码
//常用语法回顾
flex-direction:主轴方向
justify-content:主轴对其方式
align-items:交叉轴对其方式
flex-wrap:换行
align-self:子元素在交叉轴的对其方
justify-content:space-between;
两端对其
align-self:center;
居中对其
align-self:flex-end;
尾对其
代码
//常用语法回顾
flex-direction:主轴方向
justify-content:主轴对其方式
align-items:交叉轴对其方式
flex-wrap:换行
align-self:子元素在交叉轴的对其方
justify-content:space-between;
两端对其
align-self:center;
居中对其
align-self:flex-end;
尾对其