版权声明:转载请评论留言 https://blog.csdn.net/solocao/article/details/83244895
.warp {
column-count: 2;
column-gap: 10px;
padding: 5px;
}
.item {
height: 80px;
margin-bottom: 10px;
break-inside: avoid;
}
效果如下
.warp {
column-count: 2;
column-gap: 10px;
padding: 5px;
}
.item {
height: 80px;
margin-bottom: 10px;
break-inside: avoid;
}
效果如下