|
@@ -0,0 +1,77 @@
|
|
|
+<!DOCTYPE html>
|
|
|
+<html lang="en">
|
|
|
+<head>
|
|
|
+ <meta charset="UTF-8">
|
|
|
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
+ <title>Document</title>
|
|
|
+ <style>
|
|
|
+ .header{
|
|
|
+ text-align: center;
|
|
|
+ background-color: #ccc;
|
|
|
+ height: 100px;
|
|
|
+ line-height: 100px;
|
|
|
+ }
|
|
|
+ .nav{
|
|
|
+ text-align: center;
|
|
|
+ background-color: #ccc;
|
|
|
+ height: 50px;
|
|
|
+ line-height: 50px;
|
|
|
+ margin-top: 10px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .left,.center,.right{
|
|
|
+ height: 300px;
|
|
|
+ /* background-color: #ccc; */
|
|
|
+ text-align: center;
|
|
|
+ line-height: 300px;
|
|
|
+ float: left;
|
|
|
+ }
|
|
|
+ .content{
|
|
|
+ margin-top: 10px;
|
|
|
+ }
|
|
|
+ .content::after{
|
|
|
+ content: "";
|
|
|
+ display: block;
|
|
|
+ clear: both;
|
|
|
+ }
|
|
|
+ .content .left{
|
|
|
+ width: 20%;
|
|
|
+ background-color: #ccc;
|
|
|
+ }
|
|
|
+ .content .center{
|
|
|
+ width: 60%;
|
|
|
+ }
|
|
|
+ .content .center-box{
|
|
|
+ background-color: #ccc;
|
|
|
+ margin:0 10px;
|
|
|
+ }
|
|
|
+ .content .right{
|
|
|
+ width: 20%;
|
|
|
+ background-color: #ccc;
|
|
|
+ }
|
|
|
+ .footer{
|
|
|
+ background-color: #ccc;
|
|
|
+ text-align: center;
|
|
|
+ height: 100px;
|
|
|
+ line-height: 100px;
|
|
|
+ margin-top: 10px;
|
|
|
+ }
|
|
|
+ </style>
|
|
|
+</head>
|
|
|
+<body>
|
|
|
+ <div class="container">
|
|
|
+ <div class="header">头部区域</div>
|
|
|
+ <div class="nav">菜单导航区域</div>
|
|
|
+ <div class="content">
|
|
|
+ <div class="left">左侧内容</div>
|
|
|
+ <div class="center">
|
|
|
+ <div class="center-box">
|
|
|
+ 中间区域
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="right">右侧内容</div>
|
|
|
+ </div>
|
|
|
+ <div class="footer">底部区域</div>
|
|
|
+ </div>
|
|
|
+</body>
|
|
|
+</html>
|