<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
.header{
height: 50px;
width: 1200px;
background-color: gold;
}
.left{
height: 800px;
width: 100px;
background-color: greenyellow;
top: 50px;
position: relative;
}
.main{
width: 1200px;
height: 50px;
background-color: darkgray;
top: 850px;
left: 0px;
bottom: auto;
position: absolute;
}
.footer{
height: 800px;
width: 50px;
background-color: blue;
left: 100px;
top: 50px;
position: absolute;
}
.content{
height: 800px;
width: 1050px;
background-color: saddlebrown;
left: 150px;
top: 50px;
position: absolute;
}
/* 在下面书写相关css代码,实现效果图的布局 (方法越多越好) */
</style>
</head>
<body>
<div class="box">
<div class="header"></div>
<div class="main">
<div class="left"></div>
<div class="content"></div>
</div>
<div class="footer"></div>
</div>
</body>
</html>