flex布局换行后对齐方式自定义,微信小程序flex布局
flex布局换行后对齐方式自定义,微信小程序flex布局详细介绍
.box {
? ? display: flex;
? ? flex-wrap: wrap;
? ? justify-content: space-between;
}
.item {
? ? width: 30%;
? ? height: 50px;
? ? background-color: #f1f8ff;
? ? margin-bottom: 10px;
}
.placeholder {
? ? width: 30%;
? ? height: 0px;
}
?
? ?
? ?
? ?
? ?
? ?
? ?
?