flex属性

flex属性决定你的弹性盒子怎么排列

缩放:

flex为:flex-grow,flex-shrink,flex-basis属性的集合

https://blog.csdn.net/aliven1/article/details/78853725

 

方向:

flex-direction四个常用值:row,row-reverse,column,column-reverse,分别为横排,横着倒排,竖排,竖着倒排

换行:

flex-wrap: nowrap|wrap|wrap-reverse|initial|inherit;

放在哪个位置:

justify-content: flex-start|flex-end|center|space-between|space-around|initial|inherit;

 

posted @ 2020-09-04 11:49  24601  阅读(79)  评论(0编辑  收藏  举报