flex布局
dispay:flex 水平垂直居中
水平平铺:display: flex
水平居中:justify-content: center
垂直居中:align-items: center
flex-direction属性决定主轴的方向(即项目的排列方向)布局方向
从左向右:flex-direction:row
从右向左:flex-direction: row-reverse(flex-direction:row的反向)
从上往下:flex-direction: column
从下往上 : flex-direction: column-reverse(flex-direction: column反向)
flex-wrap(换行)
nowrap(默认):不换行。
wrap:换行,第一行在上方。
wrap-reverse:换行,第一行在下方。(相反)
常用flex属性持续更新中。。。