<style>
.box1{
height: 500px;
width: 500px;
background-color: antiquewhite;
display: flex;
}
.box1-1{
height: 100%;
flex:3;
}
.box1-2{
height: 100%;
flex:3;
}
.box1-3{
height: 100%;
flex:4;
}
.box1 :nth-child(1){
background-color: blueviolet;
}
.box1 :nth-child(2){
width: 50px;
height: 50px;
}
</style>
<div class="box1">
<div class="box1-1">
<div></div>
<div class="box4" style="background-color: brown;"></div>
</div>
<div class="box1-2"></div>
<div class="box1-3"></div>
</div>
这样写,为什么 box4 会变成 width:50px height:50px????