display:flex。flex容器按主轴排列填充。属性如下:flex-direction:row,排列方向flex-wrap:nowrap,不换行flex-wrap:wrap,换行justify-content:设置元素在主轴上的对齐方式justify-content:flex-start 默认左对齐justify-content:flex-end 右对齐justify-content:cen
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号