ul {
width: 300px;
height: 400px;
background: #f0f0f0;
list-style: none;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
padding: 5px;
}
ul li {
width: 90px;
height: 50px;
text-align: center;
line-height: 50px;
background: red;
border-radius: 10px;
}
ul:after {
content: '';
width: 90px;
}
flex
最新推荐文章于 2023-07-19 11:17:15 发布