摘要:<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
&
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>小米商城首页</title>
<link rel="shortcut icon" type="image/x-icon" href="static/images/footlogo.png" >
<link rel="stylesheet" type="text/css" href="static/font-awesome/css/font-awesome.css">
<link rel="stylesheet" type="text/css" href="static/css/style.css">
</head>
<body>
<!-- 头部 -->
<div>
<div></div>
</div>
<!-- 主体部分 -->
<div>
<div>
<div></div>
<div></div>
<div></div>
<div></div>
<div style="background:url(static/images/longAD1.jpg);"></div>
<div>手机</div>
<div></div>
<div style="background:url(static/images/longAD2.jpg);"></div>
<div>家电</div>
<div></div>
<div style="background:url(static/images/longAD3.jpg);"></div>
<div>智能</div>
<div></div>
<div style="background:url(static/images/longAD4.jpg);"></div>
</div>
</div>
<!-- 尾部 -->
<div>
<div>底部</div>
</div>
</body>
</html>
*{padding: 0px;margin: 0px;}
li{list-style: none;}
a{text-decoration: none;color: #ccc;}
/*头部*/
.header{width: 100%;height: 40px;background: #000;}
.menu{width:1226px;height: 40px; background:#ccc;margin:0px auto;cursor:pointer;}
/* 主体部分 */
.content{width: 1226px;margin: 10px auto;}
.contentMenu{height:90px;background: #ccc;margin: 10px auto;}
.contentPic{height:480px;background: #ccc;margin: 10px auto;}
.contentPic_ul{height:180px;background: #ccc;margin: 10px auto;}
.contentShop{height:280px;background: #ccc;margin: 10px auto;}
.contentImg{height:119px;background: #ccc;margin: 10px auto;}
.contentUL{height:80px;background: #ccc;margin: 10px auto;}
.contentPhone{height:500px;background: #ccc;margin: 10px auto;}
/*尾部*/
.footer{width: 1226px;height: 100px;background: #ccc;margin: 10px auto;}