HTML代码
<!DOCTYPE html>
<html lang="en">
<head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"><link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"><link rel="stylesheet" type="text/css" href="css/index.css"><title>ZYQ</title>
</head>
<body><nav class="navbar navbar-default navbar-inverse navbar-static-top"><div class="container"><!-- Brand and toggle get grouped for better mobile display --><div class="navbar-header"><button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false"><span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button><a class="navbar-brand" href="#"><img src="img/logo.png"></a></div><!-- Collect the nav links, forms, and other content for toggling --><div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"><ul class="nav navbar-nav"><li class="active"><a href="#"> 首页 <span class="sr-only">(current)</span></a></li><li><a href="#">公司简介</a></li><li><a href="#">解决方案</a></li><li><a href="#">成功案例 </a></li></ul><form class="navbar-form navbar-right"><div class="input-group"><input type="text" class="form-control" placeholder="Search"><span class="input-group-btn"><button class="btn btn-default"><span class="glyphicon glyphicon-search"></span></button></span></div></form> </div><!-- /.navbar-collapse --></div><!-- /.container-fluid -->
</nav><!-- 巨幕 -->
<div class="jumbotron"><div class="container"><div class="row"><div class="col-md-6"><div class="container-fluid"><div class="row"><div class="col-md-10 col-md-offset-2"><h2>简介</h2><p>GEMINITECH有限公司,
我们作为创新型科技企业,拥有一个充满朝气,高素质、年轻化、专业化的开发团队,
为公司蓬勃发展提供源源不断的活力与动力。我们致力于为企业提供中高端专属定制开发服务,
集策划,设计,开发,营销服务于一体的新型互联网企业。</p></div></div></div></div><div class="col-md-6 hidden-sm hidden-xs"><img src="img/person.png"></div></div></div>
</div><div class="container-fluid bg-gray"><div class="container"><div class="row"><div class="col-md-8 col-md-offset-2"><h2>解决方案</h2><p>主要从事互联网品牌建设与网络营销,专业领域包括网站建设,微信开发,网络营销,电子商务服务外包相关类别,并积极开拓IT技术在各个行业应用的咨询服务。致力于为用户提 供适合的解决方案。</p></div></div><div class="row"><div class="col-md-4 list-item"><h4>网站建设</h4><p>品牌展示网站、官方门户网站、营销网站建设、电商平台开发</p></div><div class="col-md-4 list-item item2"><h4>网站建设</h4><p>品牌展示网站、官方门户网站、营销网站建设、电商平台开发</p></div><div class="col-md-4 list-item item3"><h4>网站建设</h4><p>品牌展示网站、官方门户网站、营销网站建设、电商平台开发</p></div><div class="col-md-4 list-item item4"><h4>网站建设</h4><p>品牌展示网站、官方门户网站、营销网站建设、电商平台开发</p></div><div class="col-md-4 list-item item5"><h4>网站建设</h4><p>品牌展示网站、官方门户网站、营销网站建设、电商平台开发</p></div><div class="col-md-4 list-item item6"><h4>网站建设</h4><p>品牌展示网站、官方门户网站、营销网站建设、电商平台开发</p></div></div></div></div> <div class="container-fluid"><div class="container"><h2 class="common-title text-center">成功案例</h2><div class="row"><div class="col-lg-8 col-lg-offset-2 common-detail text-center">以HTML5技术为基础,实现移动终端自动兼容与浏览,延伸品牌和用户之间的触点设计开发符合移动端的H5页面,全面兼容手机、PAD等移动设备,拓宽品牌传播渠道,结合移动互联网的特点,将个性化、社会化、场景化融入项目。</div></div><div class="row case-list"><div class="col-lg-3 col-md-3 col-sm-4 col-xs-6"><img src="img/pic01.jpg"><div class="mask"><h4>网站建设</h4><p>品牌展示网站、官方门户网站、营销网站建设、电商平台开发</p></div></div><div class="col-lg-3 col-md-3 col-sm-4 col-xs-6"><img src="img/pic02.jpg"><div class="mask"><h4>网站建设</h4><p>品牌展示网站、官方门户网站、营销网站建设、电商平台开发</p></div></div><div class="col-lg-3 col-md-3 col-sm-4 col-xs-6"><img src="img/pic03.jpg"></div><div class="col-lg-3 col-md-3 col-sm-4 col-xs-6"><img src="img/pic04.jpg"></div><div class="col-lg-3 col-md-3 col-sm-4 col-xs-6"><img src="img/pic05.jpg"></div><div class="col-lg-3 col-md-3 col-sm-4 col-xs-6"><img src="img/pic06.jpg"></div><div class="col-lg-3 col-md-3 col-sm-4 col-xs-6"><img src="img/pic07.jpg"></div><div class="col-lg-3 col-md-3 col-sm-4 col-xs-6"><img src="img/pic08.jpg"></div></div></div>
</div><div class="container-fluid blue-bg"><div class="container"><h2 class="common-title text-center">合作伙伴</h2><div class="row"><div class="col-lg-8 col-lg-offset-2 common-detail text-center">我们有众多的合作伙伴。</div></div><div class="row logo-list"><div class="col-lg-2"><a href="" class="logo1"></a></div><div class="col-lg-2"><a href="" class="logo2"></a></div><div class="col-lg-2"><a href="" class="logo3"></a></div><div class="col-lg-2"><a href="" class="logo4"></a></div><div class="col-lg-2"><a href="" class="logo5"></a></div></div></div>
</div><script type="text/javascript" src="js/jquery-1.12.4.min.js"></script><script type="text/javascript" src="js/bootstrap.min.js"></script>
</body>
</html>
CSS代码
.navbar-brand{padding: 10px 20px ;
}
.jumbotron{background: url(../img/bg.jpg)center center no-repeat;padding-bottom: 0px;padding-top: 10px;
}
.navbar{margin-bottom:0px;
}
.jumbotron h2{color:#D9EDF7;
}.bg-gray{background-color: #ddd;
}
.bg-gray .col-md-8{text-align: center;
}
.bg-gray h2{color: yellowgreen;
}
.bg-gray .list-item{background:url('../img/icons.png')left top no-repeat;padding-left:138px;height:112px;margin-bottom: 39px;
}
.bg-gray .item2{background-position: left -112px;
}
.bg-gray .item3{background-position: left -224px;
}
.bg-gray .item4{background-position: left -336px;
}
.bg-gray .item5{background-position: left -448px;
}
.bg-gray .item6{background-position: left -560px;
}.container-fluid h2{color:#4CAE4C;
}.list-item h2{font-size:16px;color:#4CAE4C;font-weight: bold;
}
.list-item p{font-size: 14px;color:#7a7a7a;line-height: 28px;
}
.case-list{margin-top:75px;
}
.case-list img{width:100%;
}
.case-list .col-lg-3{padding:0px;position: relative;
}
@media(max-width: 500px) {.case-list .col-xs-6{width:100%;}
}
.case-list .col-lg-3 .mask{position: absolute;left:0px;top:0px;width:100%;height:100%;background-color: #b5cd42;color:#fff;padding:10px;display: none;
}
.case-list .col-lg-3:hover .mask{display: block;
}
.blue-bg{background-color: #2c8fba;margin-top:75px;
}
.blue-bg .common-title{color:#fff;
}
.blue-bg .common-detail{color:#fff;
}
.logo-list a{display: block;width:200px;height:180px;background: url(../img/logos.png) left top no-repeat;margin: 0 auto;}
.logo-list .logo1{background-position: left -180px;
}
.logo-list .logo2{background-position: left -360px;
}
.logo-list .logo3{background-position: left -540px;
}
.logo-list .logo4{background-position: left -720px;
}
.logo-list .col-lg-2{width:20%;
}
@media(max-width:1200px){.logo-list .col-lg-2{width:33%;float:left;}
}
@media(max-width:992px){.logo-list .col-lg-2{width:50%;float:left;}
}
@media(max-width:768px){.logo-list .col-lg-2{width:100%;}
}
.links-list{margin-top: 72px;margin-bottom: 72px;
}
.links-list dt{font-size: 20px;color:#191919;line-height: 1;margin-bottom: 10px;
}
.links-list dd{line-height: 30px;
}
.links-list dd a{color:#a0a0a0;
}
.dark-bg{background-color: #2e2e2e;border-top: 5px solid #2994bf;
}
.footer{min-height:82px;
}
.footer .text-left{color:#fff;line-height:82px;
}
.footer .text-right{line-height:82px;
}
.footer .text-right a{color:#fff;padding-left:10px;
}
@media(max-width:769px){.footer .text-left{line-height:60px;}.footer .text-right{text-align: left;line-height:20px;margin-bottom: 15px;}.footer .text-right a{padding-left:0px;padding-right:10px;}
}
网页界面图片