关于轰隆隆网站单页的仿写实现
实现的代码段如下
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>index</title>
<link rel="stylesheet" href="./css/reset.css">
<style>
.nav {
height: 88px;
min-width: 1356px;
background-color: #234781;
}
.nav .wrap {
height: 88px;
width: 1356px;
margin: 0 auto;
overflow: hidden;
}
.nav .wrap .logo {
height: 52px;
margin-top: 18px;
float: left;
margin-left: 177px;
}
.nav .wrap a {
float: right;
font-size: 16px;
width: 64px;
color: #6c7ca4;
line-height: 73px;
height: 73px;
border-bottom: 4px solid #234781;
text-align: center;
margin-left: 60px;
}
.nav .wrap .now {
color: #9d8553;
border-color: #deab39;
}
.img {
height: 490px;
background-image: url(./img/banner1.png);
background-position: center center;
background-size: cover;
min-width: 1354px;
margin: 0 auto;
}
.main {
min-width: 1356px;
background-color: #fff;
}
.main .wrap {
width: 1000px;
height: 716px;
margin: 30px auto 0;
}
.main .wrap .img1 {
height: 300px;
background-image: url(./img/c1.png);
background-position: center center;
background-size: cover;
}
.main .wrap .center {
margin-top: 15px;
}
.main .wrap .center img {
width: 300px;
height: 400px;
float: left;
}
.jieshao {
height: 195px;
text-align: center;
margin: 0 auto;
}
.jieshao img {
margin-top: 70px;
height: 22px;
}
.jieshao .top {
height: 38px;
line-height: 38px;
font-size: 26px;
font-weight: 700;
color: black;
letter-spacing: 5px;
}
.product {
min-width: 1356px;
height: 640px;
background-color: #f3f6fc;
}
.product .wrap {
width: 1000px;
margin: 0 auto;
}
.product .wrap .item {
height: 320px;
width: 300px;
float: left;
text-align: center;
}
.product .wrap .item p {
margin-top: 30px;
height: 40px;
width: 300px;
font-size: 18px;
line-height: 40px;
}
.product .wrap .item div {
height: 170px;
border-top: 1px solid #ddd;
}
.product .wrap .item .c1 {
margin-top: 20px;
height: 150px;
width: 300px;
}
.product .wrap .item .bottom1 {
width: 80px;
font-weight: 700;
margin: 30px auto 0;
height: 22px;
line-height: 22px;
font-size: 18px;
border-radius: 5px;
background-color: #fff;
border: 1px solid #ddd;
}
.bottom {
min-width: 1000px;
background-color: #fff;
}
.bottom .wrap {
width: 1000px;
height: 530px;
margin: 0 auto;
}
.bottom .wrap .wrap1 .left {
width: 426px;
height: 530px;
float: left;
}
.bottom .wrap .wrap1 .left .big {
width: 426px;
height: 530px;
margin: 0;
}
.bottom .wrap .wrap1 .little {
height: 250px;
width: 215px;
margin-top: 30px;
margin-left: 30px;
float: left;
}
.zixun {
min-width: 1000px;
background-color: #fff;
}
.zixun .wrap {
width: 1000px;
overflow: hidden;
margin: 0 auto;
}
.zixun .wrap .left {
width: 500px;
float: left;
}
.zixun .wrap .left img {
height: 250px;
width: 500px;
}
.zixun .wrap .left .title {
height: 76px;
font-size: 22px;
line-height: 76px;
font-weight: 900;
color: black;
}
.zixun .wrap .left .words {
height: 60px;
line-height: 30px;
font-size: 18px;
color: gray;
}
.zixun .wrap .left .botton {
height: 24px;
margin-top: 20px;
line-height: 24px;
width: 80px;
border-radius: 5px;
background-color: #fff;
border: 1px solid lightgray;
text-align: center;
color: black;
}
.zixun .wrap .right {
width: 484px;
margin-left: 16px;
float: left;
}
.zixun .wrap .right .content {
width: 484px;
height: 120px;
float: left;
border-bottom: 2px;
}
.zixun .wrap .right .content .left {
width: 144px;
height: 120px;
float: left;
text-align: center;
color: black;
}
.zixun .wrap .right .content .left .top {
margin-top: 30px;
height: 40px;
width: 144px;
line-height: 40px;
font-size: 40px;
}
.zixun .wrap .right .content .left .bottom2 {
margin-top: 12px;
width: 144px;
height: 16px;
line-height: 16px;
font-size: 16px;
}
.zixun .wrap .right .content .title1 {
margin-top: 30px;
height: 22px;
font-size: 22px;
}
.zixun .wrap .right .content .words1 {
height: 44px;
margin-top: 20px;
line-height: 22px;
font-size: 16px;
color: gray;
}
.hz {
min-width: 1356px;
height: 400px;
background-color: #f3f6fc;
}
.hz .wrap {
width: 1356px;
overflow: hidden;
margin: 0 auto;
}
.hz .wrap .item {
width: 950px;
height: 340px;
margin: 60px auto 0;
}
.hz .wrap .item .pic {
height: 128px;
width: 138px;
float: left;
text-align: center;
margin-left: 20px;
margin-bottom: 20px;
border: 1px solid lightgray;
}
.hz .wrap .item .pic img {
height: 60px;
margin-top: 34px;
}
.bottom4 {
height: 206px;
min-width: 1356px;
background-color: #233059;
}
.bottom4 .wrap {
width: 1356px;
height: 206px;
margin: 100px auto 0;
/* overflow: hidden; */
}
.bottom4 .wrap .logo {
height: 46px;
margin-top: 80px;
margin-left: 180px;
margin-right: 90px;
float: left;
}
.bottom4 .wrap .khd {
height: 206px;
float: left;
margin-left: 40px;
width: 150px;
}
.bottom4 .wrap .khd .name {
height: 76px;
line-height: 76px;
font-size: 18px;
color: #fff;
font-weight: 900;
}
.bottom4 .wrap .khd .xz {
height: 40px;
border: 2px solid #fff;
line-height: 40px;
width: 154px;
text-align: center;
margin-bottom: 20px;
background-color: #233059;
}
.bottom4 .wrap .khd .xz a {
color: #fff;
font-size: 16px;
}
.bottom4 .wrap .erweima {
height: 220px;
width: 200px;
margin-top: -40px;
background-color: #171e2e;
margin-right: 180px;
text-align: center;
float: right;
}
.bottom4 .wrap .erweima img {
height: 124px;
width: 124px;
margin-top: 38px;
}
.bottom4 .wrap .erweima .saoma {
font-size: 14px;
margin-top: 14px;
color: #fff;
}
.bottom5 {
min-width: 1356px;
height: 80px;
background-color: #171e2e;
}
.bottom5 .wrap {
width: 1356px;
margin: 0 auto;
height: 80px;
}
.bottom5 .wrap p {
height: 20px;
line-height: 20px;
font-size: 14px;
color: #fff;
margin-top: 30px;
float: left;
}
</style>
<body>
<div class="nav">
<div class="wrap">
<img class="logo" src="/00public img/logo.png" alt="">
<a href="###" style="margin-right: 177px;">加入我们</a>
<a href="###">行业资讯</a>
<a href="###">机械加盟</a>
<a href="###">招投标</a>
<a class="now" href="###">首页</a>
</div>
</div>
<div class="img">
</div>
<div class="main">
<div class="wrap">
<div class="img1"></div>
<div class="center">
<img src="./img/c2.png" alt="">
<img style="margin: 0 50px;" src="./img/c3.png" alt="">
<img src="./img/c4.png" alt="">
</div>
</div>
</div>
<div class="jieshao">
<img src="./img/p1.png" alt="">
<p class="top">主要产品</p>
<p style="font-size: 12px;font-weight: 100;">ABABABABABABABAB</p>
</div>
<div class="product">
<div class="wrap">
<div class="item">
<p>风力发电</p>
<div class="center"><img class="c1" src="./img/c1-1.png" alt=""></div>
<div class="bottom1">
<a href="###">查看详情</a>
</div>
</div>
<div class="item" style="margin: 0 50px;">
<p>起重设备</p>
<div class="center"><img class="c1" src="./img/c1-2.png" alt=""></div>
<div class="bottom1">
<a href="###">查看详情</a>
</div>
</div>
<div class="item">
<p>超级吊塔</p>
<div class="center"><img class="c1" src="./img/c1-3.png" alt=""></div>
<div class="bottom1">
<a href="###">查看详情</a>
</div>
</div>
<div class="item">
<p>风力发电</p>
<div class="center"><img class="c1" src="./img/c1-1.png" alt=""></div>
<div class="bottom1">
<a href="###">查看详情</a>
</div>
</div>
<div class="item" style="margin: 0 50px;">
<p>起重设备</p>
<div class="center"><img class="c1" src="./img/c1-2.png" alt=""></div>
<div class="bottom1">
<a href="###">查看详情</a>
</div>
</div>
<div class="item">
<p>超级吊塔</p>
<div class="center"><img class="c1" src="./img/c1-3.png" alt=""></div>
<div class="bottom1">
<a href="###">查看详情</a>
</div>
</div>
</div>
</div>
<div class="jieshao">
<img src="./img/p2.png" alt="">
<p class="top">实时监察</p>
<p style="font-size: 12px;font-weight: 100;">ABABABABABABABAB</p>
</div>
<div class="bottom">
<div class="wrap">
<div class="wrap1">
<div class="left">
<img class="big" src="./img/c2-1.png" alt="">
</div>
<img style="margin-top: 0;" class="little" src="./img/c2-2.png" alt=""><img style="margin-top: 0;"
class="little" src="./img/c2-3.png" alt=""><img class="little" src="./img/c2-4.png" alt=""><img
class="little" src="./img/c2-5.png" alt="">
</div>
</div>
</div>
<div class="jieshao">
<img src="./img/p3.png" alt="">
<p class="top">实时监察</p>
<p style="font-size: 12px;font-weight: 100;">ABABABABABABABAB</p>
</div>
<div class="zixun">
<div class="wrap">
<div class="left">
<img src="./img/c3-1.png" alt="">
<p class="title">科技出手,功力双收</p>
<p class="words">拿到集中电弧深度市场拿到集中电弧深度市场拿到集中电弧深度市场拿到集中电弧深度市场vv拿到集中电弧深度市场</p>
<p class="botton">查看更多</p>
</div>
<div class="right">
<div class="content">
<div class="left">
<p class="top">01</p>
<p class="bottom2">2015-06</p>
</div>
<p class="title1">科技出手,功力双收</p>
<p class="words1">集中电弧深度市场拿到集中电弧vvv集中电弧深度市场拿到集集中电弧深度市场拿到集电弧深</p>
</div>
</div>
<div class="right">
<div class="content">
<div class="left">
<p class="top">01</p>
<p class="bottom2">2015-06</p>
</div>
<p class="title1">科技出手,功力双收</p>
<p class="words1">集中电弧深度市场拿到集中电弧vvv集中电弧深度市场拿到集集中电弧深度市场拿到集电弧深</p>
</div>
</div>
<div class="right">
<div class="content">
<div class="left">
<p class="top">01</p>
<p class="bottom2">2015-06</p>
</div>
<p class="title1">科技出手,功力双收</p>
<p class="words1">集中电弧深度市场拿到集中电弧vvv集中电弧深度市场拿到集集中电弧深度市场拿到集电弧深</p>
</div>
</div>
</div>
</div>
<div class="jieshao">
<img src="./img/p4.png" alt="">
<p class="top">实时监察</p>
<p style="font-size: 12px;font-weight: 100;">ABABABABABABABAB</p>
</div>
<div class="hz">
<div class="wrap">
<div class="item">
<div style="margin-left: 0;" class="pic">
<img src="./img/f1.png" alt="">
</div>
<div class="pic">
<img src="./img/f1.png" alt="">
</div>
<div class="pic">
<img src="./img/f1.png" alt="">
</div>
<div class="pic">
<img src="./img/f1.png" alt="">
</div>
<div class="pic">
<img src="./img/f1.png" alt="">
</div>
<div class="pic">
<img src="./img/f1.png" alt="">
</div>
<div style="margin-left: 0;" class="pic">
<img src="./img/f1.png" alt="">
</div>
<div class="pic">
<img src="./img/f1.png" alt="">
</div>
<div class="pic">
<img src="./img/f1.png" alt="">
</div>
<div class="pic">
<img src="./img/f1.png" alt="">
</div>
<div class="pic">
<img src="./img/f1.png" alt="">
</div>
<div class="pic">
<img src="./img/f1.png" alt="">
</div>
</div>
</div>
</div>
<div class="bottom4">
<div class="wrap">
<img class="logo" src="/00public img/logo.png" alt="">
<div class="khd">
<a class="name" href="###">工程客户端</a>
<div class="xz"><a href="###">AppStore下载</a></div>
<div class="xz"><a href="###">android下载</a></div>
</div>
<div class="khd">
<a class="name" href="###">工程客户端</a>
<div class="xz"><a href="###">AppStore下载</a></div>
<div class="xz"><a href="###">android下载</a></div>
</div>
<div class="erweima">
<img src="/00public img/code.png" alt="">
<p class="saoma">扫码下载</p>
</div>
</div>
</div>
<div class="bottom5">
<div class="wrap">
<p style="margin-left: 422px;">Copyright © 2015-2018 轰隆隆honglonglong.ALL Rights Reserverd</p>
<p style="margin-left: 30px;">京ICP备15045098号</p>
</div>
</div>
</body>
</html>