abstract:<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>小米商城</title>
<link rel="shortcut icon" type="image
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>小米商城</title>
<link rel="shortcut icon" type="image/x-icon" href="static/img/footlogo.png"><!-- 页面上的图标 -->
<link rel="stylesheet" href="static/font-awesome/cssfont-awesome.min.css">
<link rel="stylesheet" href="static/css/style.css">
</head>
<body>
<!-- 顶部 -->
<div>
<div></div>
</div>
<!-- 主体部分 -->
<div>
<div>
<div></div>
<div>
<div></div>
<div></div>
</div>
<div></div>
<div>
<div></div>
<div style="background: url(static/img/midAD1.jpg); margin-right: 13px;"></div>
<div style="background: url(static/img/midAD2.jpg); margin-right: 13px;"></div>
<div style="background: url(static/img/midAD3.jpg);"></div>
</div>
<!-- 小米闪购 -->
<div>
<h1>小米闪购</h1>
<div style="margin-right: 12.7px; border-top: 1px solid red "></div>
<div style="margin-right: 12.7px; border-top: 1px solid blue"></div>
<div style="margin-right: 12.7px; border-top: 1px solid red"></div>
<div style="margin-right: 12.7px; border-top: 1px solid blue"></div>
<div style="border-top: 1px solid"></div>
</div>
<div></div>
<div style="background: url(static/img/longAD1.jpg);"></div>
<div>手机</div>
<div></div>
<div style="background: url(static/img/longAD2.jpg);"></div>
<div>智能</div>
<div></div>
<div style="background: url(static/img/longAD3.jpg);"></div>
<div>家电</div>
<div></div>
<div style="background: url(static/img/longAD4.jpg);"></div>
<div class=""></div>
</div>
</div>
<!-- 底部 -->
<div>
<div>
网页底部
</div>
</div>
</body>
</html>
*{margin: 0px; padding: 0px;}
/*头部样式*/
li{list-style: none;}
a{text-decoration: none;color: #ccc; cursor: pointer;}
.clear{clear: both; }
.header{
width: 100%;
height: 40px;
background:#333;
}
.menu{
background: #ccc;
width: 1226px;
height: 40px;
margin: 0px auto;
}
/* 主体样式*/
.content{
width: 1226px;
margin: 10px auto;
}
.contentMenu{
background: #ccc;
margin: 10px auto;
height: 90px;
}
.contentPic{
background: #ccc;
margin: 10px auto;
height: 480px;
}
.contentPic_l{
width: 246px;
height: 480px;
background: #ccc;
float: left;
}
.contentPic_r{
width: 980px;
height: 480px;
background: blue;
float: right;
}
.contentPic_ul{
margin: 10px auto;
height: 180px;
}
.contentPic_ul_1{
width: 235px;
background: #5f5759;
height: 180px;
margin-right: 10px;
float: left;
}
.contentPic_ul_0{
width: 317px;
background: #5f5759;
height: 170px;
float: left;
}
/*小米闪购*/
.contentShop{
margin: 10px auto;
height: 340px;
}
.contentShop_1{
width: 235px;
background: #ccc;
float: left;
height: 340px;
}
.contentImg{
background: #ccc;
margin: 10px auto;
height: 100px;
}
.contentUL{
background: #ccc;
margin: 10px auto;
height: 80px;
}
.contentPhone{
background: #ccc;
margin: 10px auto;
height: 500px;
}
/* 网页底部*/
.footer{
width: 1226px;
height: 200px;
background: #ccc;
margin: 10px auto;
}