<style>
.flex-box{
display: flex;
height:200px;
width:100%;
background:red;
}
.item:nth-child(2){
flex:1;
background:red;
}
</style>
<div class="flex-box">
<div class="item" style="width:200px;background:yellow">
左
</div>
<div class="item">
中
</div>
<div class="item" style&
flex实现三栏布局原理
最新推荐文章于 2022-03-04 14:21:44 发布