.imgList { display: grid; justify-content: space-between; grid-template-columns: repeat(auto-fill, 100rpx); grid-gap: 10px; .item { width: 100rpx; height:100rpx; background-color: skyblue; margin-top: 5px; } }
.imgList { display: grid; justify-content: space-between; grid-template-columns: repeat(auto-fill, 100rpx); grid-gap: 10px; .item { width: 100rpx; height:100rpx; background-color: skyblue; margin-top: 5px; } }