<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>php中文网</title>
<link rel="stylesheet" href="static/font/iconfont.css">
<style>
/*清除自带的间距*/
*{
margin: 0 ;
padding: 0;
}
/*清除a标签下划线*/
a{
text-decoration: none;
color: #333333;
}
/*清除浮动*/
clear{
clear:both;
}
.header{
width: 1200px;
height: 150px;
margin: 0 auto;
}
.logo{
float: left;
width: 160px;
height: 80px;
margin-right: 295px;
margin-top: 45px;
position: relative;
background:url("./static/images/logo.png");
}
.sousuo{
float: left;
width: 200px;
height: 50px;
margin-left: 100px;
margin-top: 65px;
position: relative;
}
.sousuo input{
width: 300px;
height: 40px;
margin-top: 5px;
border: solid 1px #404040;
border-radius:10px;
position: absolute;
}
.sousuo label{
position: absolute;
margin-left: 280px;
margin-top: 15px;
}
.denglu{
float: left;
width: 300px;
height: 80px;
margin-left: 145px;
margin-top: 70px;
position: relative;
}
.denglu span{
font-size: 35px;
margin-left: 10px;
}
.content{
width: 1200px;
margin: 0 auto;
}
.content span{
float: left;
font-size: 35px;
color: red;
margin-right: 5px;
}
.nav-daohang1{
float: left;
padding-right: 5px;
box-sizing: border-box;
}
.nav-daohang2{
float: left;
margin-right: 70px;
padding-left: 5px;
border-left: solid 1px #404040;
box-sizing: border-box;
}
.footer{
width: 1200px;
margin: 0 auto;
margin-top: 70px;
}
.tupian-left{
float: left;
width:898px ;
height: 320px;
margin-right: 7px;
background:url("./static/images/2.jpg");
}
.tupian-right{
float: left;
width: 295px;
height: 320px;
background:url("./static/images/banner-right.jpg");
}
</style>
</head>
<body>
<div class="box">
<div class="header">
<div class="logo">
</div>
<div class="sousuo">
<input type="search" name="search" id="search">
<label for="search" class="iconfont icon-jinduchaxun"></label>
</div>
<div class="denglu">
<a href=""><span class="iconfont icon-tianshenpi"></span></a>
<a href=""><span class="iconfont icon-danmu1"></span></a>
<a href=""><span class="iconfont icon-shujukanban"></span></a>
<a href=""><span class="iconfont icon-fangda"></span></a>
<a href=""><span class="iconfont icon-huiyuan2"></span></a>
<a href=""><span class="iconfont icon-dianzan"></span></a>
</div>
</div>
<div class="content">
<ul>
<div class="nav-span">
<span class="iconfont icon-gongdan"></span>
</div>
<div class="nav-daohang1">
<p>
<a href="#">建材</a>
</p>
<p>
<a href="#">建材</a>
</p>
</div>
<div class="nav-daohang2">
<p>
<a href="#">建材</a>
<a href="#">瓷砖</a>
<a href="#">瓦片</a>
<a href="#">水泥</a>
</p>
<p>
<a href="#">钢筋</a>
<a href="#">扳手</a>
<a href="#">螺丝</a>
<a href="#">卡口</a>
</p>
</div>
<div class="nav-span">
<span class="iconfont icon-gongdan"></span>
</div>
<div class="nav-daohang1">
<p>
<a href="#">建材</a>
</p>
<p>
<a href="#">建材</a>
</p>
</div>
<div class="nav-daohang2">
<p>
<a href="#">建材</a>
<a href="#">瓷砖</a>
<a href="#">瓦片</a>
<a href="#">水泥</a>
</p>
<p>
<a href="#">钢筋</a>
<a href="#">扳手</a>
<a href="#">螺丝</a>
<a href="#">卡口</a>
</p>
</div>
<div class="nav-span">
<span class="iconfont icon-gongdan"></span>
</div>
<div class="nav-daohang1">
<p>
<a href="#">建材</a>
</p>
<p>
<a href="#">建材</a>
</p>
</div>
<div class="nav-daohang2">
<p>
<a href="#">建材</a>
<a href="#">瓷砖</a>
<a href="#">瓦片</a>
<a href="#">水泥</a>
</p>
<p>
<a href="#">钢筋</a>
<a href="#">扳手</a>
<a href="#">螺丝</a>
<a href="#">卡口</a>
</p>
</div>
<div class="nav-span">
<span class="iconfont icon-gongdan"></span>
</div>
<div class="nav-daohang1">
<p>
<a href="#">建材</a>
</p>
<p>
<a href="#">建材</a>
</p>
</div>
<div class="nav-daohang2">
<p>
<a href="#">建材</a>
<a href="#">瓷砖</a>
<a href="#">瓦片</a>
<a href="#">水泥</a>
</p>
<p>
<a href="#">钢筋</a>
<a href="#">扳手</a>
<a href="#">螺丝</a>
<a href="#">卡口</a>
</p>
</div>
</ul>
</div>
<div class="footer">
<div class="tupian-left">
</div>
<div class="tupian-right">
</div>
</div>
</div>
</body>
</html>