
声明:
display:flex;
flex-flow = flex-direction flex-wrapflex-direction
主轴的方向:row|column|row-reverse|column-reverse
row

column

row-reverse

column-reverse

flex-wrap
```
主轴上的元素排列:nowrap|wrap|wrap-reverse
nowrap 不折行
wrap 折行
wrap-reverse 反向折行
```
justify-content
主轴上的对齐方式

交叉轴上的单行对齐align-content
交叉轴上的多行对齐
元素排序放大比例,无多余宽度失效缩小比例,默认为1,无多余宽度失效设置元素在主轴上的初始尺寸flex = flex-grow + flex-shrink + flex-basis单独为元素设置对齐方式


原文:https://www.cnblogs.com/wybing/p/12300017.html