完成下图网页效果
<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">
html,body{
padding: 0;margin: 0;width: 100%;height: 100%;color: #fff;
}
.box{
padding: 0;margin: 0;width: 100%;height: 100%;display: flex;flex-direction: column;
}
.main{width:100%;height: 40px;background-color: gray}
.top{width:100%;height: 80px;background-color: green}
.center{width:100%;flex: 1;display: flex;}
.center .left{width: 30%;height:100%;background-color: yellow}
.center .right{width: 70%;height:100%;background-color: blue}
.footer{width:100%;height: 80px;background-color: orange}
</style>
</head>
<body>
<div class="box">
<div class="main">main</div>
<div class="top">top</div>
<div class="center">
<div class="left">left</div>
<div class="right">right</div>
</div>
<div class="footer">footer</div>
</div>
</body>
</html>
亲爱的提问者您好,我们很乐意您能在CSDN解决编程过程中遇到的问题,
但是问答频道谢绝一切直接提问作业、索要代码的行为,在此对您发出正式警告。
后续如果继续不加思考,直接提出作业问题,我们会限制您在问答频道的提问权益。
CSDN也鼓励用户通过举报功能来对这些行为进行监督反馈,共建问答频道良好的风气。