- flex-direction
- flex-wrap
- flex-flow
- justify-content
- align-items
- align-content
- 1.display: flex;
-
.Box { flex-direction: row | row-reverse | column | column-reverse;// 水平分布垂直分布 }
-
.Box{ flex-wrap: Nowrap | wrap | wrap-reverse; //水平轴线换行不换行的问题 }
-
.Box { justify-content: flex-start | flex-end | center | space-between | space-around; 在主轴上的对齐方式 左对齐右对齐居中对齐
-
.Box { align-items: flex-start | flex-end | center | baseline | stretch;//在纵轴上的对齐方式 }
.Box { align-content: flex-start | flex-end | center | space-between | space-around | stretch; //多跟轴线的对齐方式 }
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。