第3节 讲解flex布局容器器六⼤大属性之flex-wrap和flex-flow

  • flex-wrap属性设置⼦项⽬的换行方式

描述
nowrap 默认值。不换行
wrap 换⾏,从上往下排列,第⼀行在上方。
wrap-reverse 换行,从下往上排列,第一行在下方。
  • flex-flow属性是flex-direction属性和flex-wrap属性的简写⽅式,默认值是row nowrap。

猜你喜欢

转载自www.cnblogs.com/xl4ng/p/12636254.html