<head>
<style>
.row{
display: flex;
wrap: no-wrap;
}
.box1{
width: 100px;
height: 100px;
}
.box2{
width: 100%;
height: 200px;
background: black;
color: #fff;
}
</style>
</head>
<body>
<div class="row">
<div class="box1">
<h1>box1</h1>
</div>
<div class="box2">
<h1>box2</h1>
</div>
</div>
</body>
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交