HTML:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<link href="css/index.css" type="text/css" rel="stylesheet"/>
<title></title>
</head>
<body>
<div class="main">
<!-- 导航条 -->
<div class="nav">
<img src="img/a.png" />
<a href="###" class="nav_frist">首页</a>
<a href="###">招投标</a>
<a href="###">机械加盟</a>
<a href="###">行业资讯</a>
<a href="###">关于我们</a>
</div>
<!-- 图片 -->
<img src="img/k.png" />
<!-- 招标信息 -->
<p class="wenzi"><b>最新招标</b></p>
<div class="content">
<!-- 第一个模块 -->
<div class="one">
<img src="img/j.png" />
<p class="one_font">科技出手,功力双收</p>
<p>将军闭目弹整德,只因眼前无敌手。
笔落才气冲星斗,龙翔凤霹势难收。
满堂花醉三千客,一剑寒霜十四州。
鼓角揭天嘉气冷,风涛地动海山秋。
将军闭目弹箩筷,只因眼前无敌手。
笔落才气冲星斗,龙翔凤嘉势难收。
满堂花醉三千客,一剑寒霜十四州。
鼓角揭天嘉气冷,风涛地动海山秋。</p>
<div class="detail">
了解详情>
</div>
<!-- 第二个模块 -->
<div class="two">
<img src="img/g.png" />
<p class="one_font">科技出手,功力双收</p>
<p>将军闭目弹整德,只因眼前无敌手。
笔落才气冲星斗,龙翔凤霹势难收。
满堂花醉三千客,一剑寒霜十四州。
鼓角揭天嘉气冷,风涛地动海山秋。
将军闭目弹箩筷,只因眼前无敌手。
笔落才气冲星斗,龙翔凤嘉势难收。
满堂花醉三千客,一剑寒霜十四州。
鼓角揭天嘉气冷,风涛地动海山秋。</p>
<div class="detail">
了解详情>
</div>
</div>
<!-- 第三个模块 -->
<div class="one">
<img src="img/f.png" />
<p class="one_font">科技出手,功力双收</p>
<p>将军闭目弹整德,只因眼前无敌手。
笔落才气冲星斗,龙翔凤霹势难收。
满堂花醉三千客,一剑寒霜十四州。
鼓角揭天嘉气冷,风涛地动海山秋。
将军闭目弹箩筷,只因眼前无敌手。
笔落才气冲星斗,龙翔凤嘉势难收。
满堂花醉三千客,一剑寒霜十四州。
鼓角揭天嘉气冷,风涛地动海山秋。</p>
<div class="detail">
了解详情>
</div>
</div>
<p class="wenzi"><b>招标信息</b></p>
<!-- 第二个大板块 -->
<div class="content_two">
<div class="two_one">
<img src="img/i.png" />
<p class="one_font">科技出手,功力双收</p>
<p>将军闭目弹整德,只因眼前无敌手。
笔落才气冲星斗,龙翔凤霹势难收。
满堂花醉三千客,一剑寒霜十四州。
鼓角揭天嘉气冷,风涛地动海山秋。
将军闭目弹箩筷,只因眼前无敌手。
笔落才气冲星斗,龙翔凤嘉势难收。
满堂花醉三千客,一剑寒霜十四州。
鼓角揭天嘉气冷,风涛地动海山秋。</p>
</div>
<div class="two_two">
<img src="img/h.png"/>
<p class="one_font">科技出手,功力双收</p>
<p>将军闭目弹整德,只因眼前无敌手。
笔落才气冲星斗,龙翔凤霹势难收。
满堂花醉三千客,一剑寒霜十四州。
鼓角揭天嘉气冷,风涛地动海山秋。
将军闭目弹箩筷,只因眼前无敌手。
笔落才气冲星斗,龙翔凤嘉势难收。
满堂花醉三千客,一剑寒霜十四州。
鼓角揭天嘉气冷,风涛地动海山秋。</p>
</div>
<div class="two_three">
<img src="img/d.png"/>
<p class="one_font">科技出手,功力双收</p>
<p>将军闭目弹整德,只因眼前无敌手。
笔落才气冲星斗,龙翔凤霹势难收。
满堂花醉三千客,一剑寒霜十四州。
鼓角揭天嘉气冷,风涛地动海山秋。
将军闭目弹箩筷,只因眼前无敌手。
笔落才气冲星斗,龙翔凤嘉势难收。
满堂花醉三千客,一剑寒霜十四州。
鼓角揭天嘉气冷,风涛地动海山秋。</p>
</div>
<div class="two_four">
<img src="img/c.png"/>
<p class="one_font">科技出手,功力双收</p>
<p>将军闭目弹整德,只因眼前无敌手。
笔落才气冲星斗,龙翔凤霹势难收。
满堂花醉三千客,一剑寒霜十四州。
鼓角揭天嘉气冷,风涛地动海山秋。
将军闭目弹箩筷,只因眼前无敌手。
笔落才气冲星斗,龙翔凤嘉势难收。
满堂花醉三千客,一剑寒霜十四州。
鼓角揭天嘉气冷,风涛地动海山秋。</p>
</div>
</div>
</div>
</div>
</div>
<p class="wenzi"><b>中标告示</b></p>
<div class="content_three">
<div class="three_one">
<p style="font-size: 30px;">09</p>
<p >2018年03月</p><br />
<hr width="50px" color="black" class="jianju"/><br />
<p>笔落才气冲星斗,龙翔凤嘉势难收。
满堂花醉三千客,一剑寒霜十四州。</p>
<div class="detail_two">详细></div>
</div>
<div class="three_two">
<p style="font-size: 30px;">09</p>
<p >2018年03月</p><br />
<hr width="50px" color="black" class="jianju"/><br />
<p>笔落才气冲星斗,龙翔凤嘉势难收。
满堂花醉三千客,一剑寒霜十四州。</p>
<div class="detail_two">详细></div>
</div>
<div class="three_three">
<p style="font-size: 30px;">09</p>
<p >2018年03月</p><br />
<hr width="50px" color="black" class="jianju"/><br />
<p>笔落才气冲星斗,龙翔凤嘉势难收。
满堂花醉三千客,一剑寒霜十四州。</p>
<div class="detail_two">详细></div>
</div>
<div class="sanjiaoxing"></div>
<div class="erweima" align="center">
<img src="img/b.png" /><br />
<span>二维码</span>
</div>
<div class="last">
<img src="img/a.png" style="margin-top: 100px; margin-left: 100px;"/><br />
<span class="top">工作客户端</span>
<span class="top">机械客户端</span><br />
<div class="hezi">AppStore下载</div>
<div class="hezi1">AppStore下载</div><br />
<div class="hezi">AppStore下载</div>
<div class="hezi1">AppStore下载</div>
</div>
<div class="banquan">
<p>Copyright c 2015-2018轰隆隆honglonglong.All Rights Reserved.</p>
<p class="banquan_one">京ICP备15045098号</p>
</div>
</div>
</div>
</body>
</html>
css:
.main{
overflow: hidden;
}
.main .nav{
height: 55px;
background-color: rgb(50,72,128);
}
.nav img{
margin-left: 200px;
float: left;
}
.nav a{
/* 去掉a标签下面的下划线 */
text-decoration: none;
margin-left: 100px;
text-align: center;
line-height: 55px;
color: rgb(240,240,242);
}
.nav .nav_frist{
margin-left: 200px;
}
.wenzi{
text-align: center;
font-size: 18px;
}
.content{
margin-left: 320px;
}
.content .one{
height: 295px;
width: 1000px;
border: 3px solid rgb(137,134,134);
background-color: rgb(234,234,234);
}
.content .two{
height: 295px;
width: 1000px;
border: 3px solid rgb(137,134,134);
background-color: rgb(234,234,234);
margin-top: 150px;
margin-bottom: 10px;
}
.one img{
float: left;
margin-right: 25px;
}
.two img{
float: right;
margin: 0;
margin-left: 20px;
}
.two p{
margin-left: 20px;
}
.one_font{
font-size: 20px;
font-weight: bold;
}
.one .detail{
width: 130px;
height: 50px;
border: 2px solid rgb(128,130,131);
float: right;
text-align: center;
line-height: 50px;
margin-right: 50px;
margin-top: 30px;
font-size: 20px;
}
.two .detail{
width: 130px;
height: 50px;
border: 2px solid rgb(128,130,131);
float: left;
text-align: center;
line-height: 50px;
margin-left: 10px;
margin-top: 30px;
font-size: 20px;
}
.content_two .two_one{
width: 500px;
height: 250px;
border: 1px solid white;
float: left;
}
.content_two .two_three{
width: 500px;
height: 250px;
float: left;
}
.content_three .three_one{
width: 250px;
height: 300px;
background-color: rgb(244,247,251);
margin-left: 320px;
}
.content_three .three_two{
width: 250px;
height: 300px;
background-color: rgb(244,247,251);
margin-left: 670px;
margin-top: -330px;
}
.content_three .three_three{
width: 250px;
height: 300px;
background-color: rgb(244,247,251);
margin-left: 990px;
margin-top: -330px;
}
.content_three .three_one p{
margin-left: 10px;
}
.content_three .three_two p{
margin-left: 10px;
}
.content_three .three_three p{
margin-left: 10px;
}
.content_three .three_one .jianju{
margin-left: 10px;
}
.content_three .three_two .jianju{
margin-left: 10px;
}
.content_three .three_three .jianju{
margin-left: 10px;
}
.content_three .three_one hr{
float: left;
}
.content_three .three_two hr{
float: left;
margin-top: -110px;
}
.content_three .three_three hr{
float: left;
margin-top: -110px;
}
.content_three .three_one .detail_two{
float: left;
margin-left: 20px;
}
.content_three .three_two .detail_two{
float: left;
margin-left: 20px;
}
.content_three .three_three .detail_two{
float: left;
margin-left: 20px;
}
.last{
height: 300px;
background-color: rgb(50,72,128);
margin-top: 200px;
}
.last img{
float: left;
}
.last .top{
margin-left: 100px;
color: #FFFFFF;
}
.last .hezi{
width: 110px;
height: 30px;
border: 1px solid #FFFFFF;
margin-left: 100px;
color: #FFFFFF;
margin-bottom: 20px;
display: inline-block;
margin-top: 10px;
}
.last .hezi1{
width: 110px;
height: 30px;
border: 1px solid #FFFFFF;
margin-left: 50px;
color: #FFFFFF;
margin-bottom: 20px;
display: inline-block;
margin-top: 10px;
}
.banquan{
height: 50px;
background-color: black;
}
.banquan p{
color: #FFFFFF;
margin-left: 350px;
text-align: center;
display: inline-block;
}
.banquan .banquan_one{
margin-left: 100px;
}
.erweima{
width: 200px;
height: 200px;
float: right;
background-color: #000000;
margin-top:150px;
margin-right: 150px;
position: relative;
}
.erweima img{
margin-top: 35px;
}
.erweima span{
color: #FFFFFF;
text-align: center;
}
.sanjiaoxing{
width: 0px;
border-bottom: 25px solid black;
border-right: 25px solid black;
border-left: 25px solid transparent;
border-top: 25px solid transparent;
margin-top: 150px;
position: absolute;
margin-left: 1480px;
}
案例展示: