【发布时间】:2023-02-01 19:28:01
【问题描述】:
我要怎么转
我尝试使用 justify-content: space between; 并将块分开,但我如何将 3 和 4 对齐到容器底部
CSS代码
.container {
width: 240px;
height: 200px;
border: 1px solid gray;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.container > div {
width: 80px;
height: 50px;
border: 1px solid red;
}
【问题讨论】: