<div class="outerDIV">
<div>Left</div>
<div>Right</div>
</div>
.outerDIV{
display: flex;
flex-flow: row nowrap;
justify-content: space-between;
align-content: flex-start;
}
.outerDIV div{
width: 100px;
height: 100px;
background: red;
}
嵌套Div的左右布局
最新推荐文章于 2024-07-25 08:14:42 发布