display:flex。flex容器按主轴排列填充。 属性如下:flex-direction:row,排列方向flex-wrap:nowrap,不换行flex-wrap:wrap,换行justify-content:设置元素在主轴上的对齐方式justify-content:flex-start默认左对齐justify-content:flex-end右对齐justify-content:center居中对齐justify-content:space-between两端对齐元素之间等距排列。justify-content:space-around元素等距排列。align-items:定义fle...