全部代码
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title></title>
<style>
html{
height: 100%;
}
body{
height: 100%;
}
.wrap{
width: 100%;
height: 100%;
background-color: aqua;
}
.left {
float: left;
width: 200px;
background-color: rgb(164, 164, 164);
height: 100%;
}
.right {
overflow: hidden;
height: 100%;
background-color: rgb(89, 89, 89);
}
</style>
</head>
<body>
<div class="wrap">
<div class="left">left</div>
<div class="right">right</div>
</div>
</body>
</html>