##博文尚美HTML静态页面
HTML部分
<!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>博文尚美</title>
<link rel="stylesheet" href="./index.css">
</head>
<body>
<!-- 头部 -->
<div class="header">
<img src="./images/images/logo.png" alt="">
<div>
<span>HOME</span>
<span>ABOUT</span>
<span>PROTFOLIO</span>
<span>SERVICE</span>
<span>CONTACT</span>
</div>
</div>
<!-- 轮播图 -->
<div class="banner">
<img src="./images/images/banner.png" alt="">
<div>
<span></span>
<span class="active"></span>
<span></span>
<span></span>
</div>
</div>
<!-- 服务范围 -->
<div class="services">
<div class="title">
<p class="title-top">
<span></span>
<span>服务范围</span>
<span></span>
</p>
<p>our services</p>
</div>
<div class="box">
<div>
<img src="./images/images/section1-img1.png" alt="">
<p>1.WEB DESIGN</p>
<p>企业品牌网站设计/手机网站制作动画网站创意设计</p>
</div>
<div>
<img src="./images/images/section1-img2.png" alt="">
<p>1.WEB DESIGN</p>
<p>标志logo设计/产品宣传册设计企业广告/海报设计</p>
</div>
<div>
<img src="./images/images/section1-img3.png" alt="">
<p>1.WEB DESIGN</p>
<p>淘宝/天猫装修设计及运营推广企业微博,微信营销</p>
</div>
<div>
<img src="./images/images/section1-img4.png" alt="">
<p>1.WEB DESIGN</p>
<p>腾讯/网易企业邮箱品牌代理 个性化邮箱定制开发</p>
</div>
</div>
</div>
<!-- 客户案例 -->
<div class="customer_case">
<div class="title">
<p class="title-top">
<span></span>
<span style="color: #66c5b4;">{客户案例}</span>
<span></span>
</p>
<p>With the best professional technology,to design the best innovative web site</p>
</div>
<div class="customer_case_img">
<img src="./images/images/section2.png" alt="">
<img src="./images/images/section2.png" alt="">
<img src="./images/images/section2.png" alt="">
</div>
<div class="btn">VIEW MOVE</div>
</div>
<!-- 最新资讯 -->
<div class="latest_news">
<div class="title">
<p class="title-top">
<span></span>
<span>最新资讯</span>
<span></span>
</p>
<p>TEH LATEST NEWS</p>
</div>
<div class="conent">
<img src="./images/images/section3.png" alt="">
<div class="conent-box">
<div class="conent-box1">
<div>
<p>09</p>
<p>Jan</p>
</div>
<div>
<p>网站排名进入前三的技巧说明</p>
<p>很多客户都会纳闷为什么自己的网站老是优化不到搜索引擎 首页,更不用说进首页前三了。那么网站优...</p>
</div>
</div>
<div class="conent-box1">
<div>
<p>09</p>
<p>Jan</p>
</div>
<div>
<p>网站排名进入前三的技巧说明</p>
<p>很多客户都会纳闷为什么自己的网站老是优化不到搜索引擎 首页,更不用说进首页前三了。那么网站优...</p>
</div>
</div>
<div class="conent-box1">
<div>
<p>09</p>
<p>Jan</p>
</div>
<div>
<p>网站排名进入前三的技巧说明</p>
<p>很多客户都会纳闷为什么自己的网站老是优化不到搜索引擎 首页,更不用说进首页前三了。那么网站优...</p>
</div>
</div>
<div class="conent-box1">
<div>
<p>09</p>
<p>Jan</p>
</div>
<div>
<p>网站排名进入前三的技巧说明</p>
<p>很多客户都会纳闷为什么自己的网站老是优化不到搜索引擎 首页,更不用说进首页前三了。那么网站优...</p>
</div>
</div>
</div>
</div>
</div>
<!-- 底部 -->
<div class="footer">
<div>
<span class="footer-1">Home</span>
<span>About</span>
<span>Portfolio</span>
<span>Contact</span>
</div>
</div>
</body>
</html>
CSS样式部分
*{
margin: 0;
padding: 0;
}
/*公共样式部分 */
.title{
text-align:center;
}
.title>.title-top>span:nth-child(2){
margin: 0 50px;
color:#363636;
font-size: 20px;
}
.title>.title-top>span:first-child{
display: inline-block;
width:100px;
height:2px;
vertical-align: middle;
background-color: #c3c3c3;
position: relative;
}
.title>.title-top>span:first-child::before{
content: '';
width: 10px;
height: 10px;
border-radius: 50%;
background-color: #c3c3c3;
position: absolute;
top:-4px;
right:-9px;
}
.title>.title-top>span:last-child{
display: inline-block;
width:100px;
height:2px;
vertical-align: middle;
background-color: #c3c3c3;
position: relative;
}
.title>.title-top>span:last-child::before{
content: '';
width: 10px;
height: 10px;
border-radius: 50%;
background-color: #c3c3c3;
position: absolute;
top:-4px;
left:-9px;
}
.title p:last-child{
margin-top: 10px;
font-size: 14px;
color:#c3c3c3
}
/* 头部 */
.header{
width:1024px;
height:80px;
margin: 0 auto;
/* border:1px solid red; */
}
.header img{
margin-top: 15px;
}
.header>div{
float:right;
/* border:1px solid red; */
line-height:80px;
}
.header>div>span{
color:#646464;
margin: 20px;
}
/* 轮播图 */
.banner>img{
width:100%;
}
.banner>div{
margin-top:-60px;
text-align: center;
}
.banner>div>span{
display: inline-block;
border:2px solid white;
width:10px;
height:10px;
margin: 10px;
border-radius: 50%;
}
.banner>div>span.active{
background-color: white;
}
/* 服务范围 */
.services{
width:1024px;
margin: 80px auto 0;
}
.services>.box>div{
text-align: center;
width:250px;
height:300px;
margin: 0;
padding:30px;
box-sizing: border-box;
display: inline-block;
/* border:1px solid red; */
}
.services>.box>div>p:first-of-type{
margin-top: 20px;
font-weight: bold;
}
.services>.box>div>p:last-child{
margin-top: 20px;
font-size:14px;
color:#6d6d6d;
}
/* 客户案例 */
.customer_case{
padding-top: 50px;
background-color:#f8f8f8;
padding-bottom: 50px;
}
.customer_case .customer_case_img{
width:1024px;
margin: 50px auto;
/* border:1px solid red; */
}
.customer_case.customer_case_img>img{
width:328px;
}
.customer_case .customer_case_img>img:nth-child(2){
margin: 0 -2px;
}
.customer_case .btn{
width:180px;
height:40px;
margin: 0 auto;
color:white;
line-height: 40px;
text-align: center;
border-radius: 20px;
background-color: #66c5b4;
}
/* 最新资讯 */
.latest_news{
margin-top: 50px;
}
.latest_news .conent{
width:1024px;
margin: 50px auto;
/* border:1px solid red;*/
}
.latest_news .conent .conent-box{
display: inline-block;
width:783px;
height:196px;
/* border:1px solid red; */
}
.latest_news .conent-box>.conent-box1{
box-sizing: border-box;
display: inline-block;
width:49%;
margin-left: 5px;
/* border:1px solid red; */
height:48%;
}
.latest_news .conent-box1>div:first-child{
float:left;
width:73px;
height:80px;
border-right:1px solid #dcdcdc;
text-align: center;
}
.latest_news .conent-box1>div:first-child>p:last-child{
float:left;
width:73px;
height:80px;
color: #a4a4a4;
text-align: center;
}
.latest_news .conent-box1>div:first-child>p:first-child{
font-size:39px;
color:#66c5b4;
/* font-size:bold; */
font-family: 'Times New Roman', Georgia, serif;
}
.latest_news .conent-box1>div:last-child{
float: left;
width:300px;
height:80px;
padding-left:20px;
box-sizing: border-box;
/* border:1px solid red; */
}
.latest_news .conent-box1>div:last-child>p:last-child{
font-size:12px;
color:#a4a4a4;
padding-top:13px;
}
/* 底部 */
.footer{
width:100%;
height:43px;
line-height: 47px;
margin: 0 auto;
background-color:#66c5b4 ;
/* border:1px solid red; */
/* text-align:right; */
color:white;
font-size: 10px;
}
.footer>div{
margin: auto;
text-align: right;
width:1024px;
/* border:1px solid red; */
}
.footer>div>span{
border-left: 1px solid white;
padding:0 24px;
}
.footer .footer-1{
border-left: none;
}
素材已删!!!