Div怎么写才能实现?
<!DOCTYPE html>
<html>
<head>
<title></title>
<style>
html,
body {
width: 100%;
height: 100%;
margin: 0px;
padding: 0px;
}
.box {
width: 80%;
box-sizing: border-box;
height: 80%;
border: rgb(107, 41, 41) solid 1px;
margin: 50px auto;
}
.in_box1 {
display: flex;
height: 50%;
border-bottom: #ccc solid 1px;
}
.in_box1 div:nth-child(1){
width: 50%;
border-right: #ccc solid 1px;
}
</style>
</head>
<body>
<div class="box">
<div class="in_box1">
<div></div>
<div></div>
</div>
<div class="in_box2"></div>
</div>
</body>
</html>
div+flex布局