flex-direction:row
flex-direction: column;
flex-direction: row-reverse;
flex-direction: column-reverse;
justify-content: flex-start;
justify-content: flex-end;
justify-content: center;
justify-content: space-around;
justify-content: space-between;
justify-content: space-evenl
align-items: flex-start;
align-items: flex-end;
align-items: center;
align-items: stretch;
/* 上*/
align-self: flex-start
/* 中*/
align-self: center
/* 下*/
align-self: flex-end
flex:1;
两边盒子给固定宽度,中间使用flex伸缩比,使宽度自适应.数值是0-1之间
flex-wrap:wrap
align-content: space-between;
属性值和主轴对齐方式一样.
| 留言与评论(共有 0 条评论) “” |