.navbar-brand{
padding: 10px 10p 20px 20px;
}
.font{
font-size: 40px;
text-shadow: 0 0 2px black;
color: #eb2525;
}
.bg-gray .list-item:nth-of-type(3){
background-position: left -224px ;
}
.bg-gray .item2{
background-position: left -112px ;
}
.bg-gray .list-item{
background: url('../img/icons.pug') left top no-repeat ;
width: 112px;
}
.navbar-brand{
padding:10px 15px 20px 20px;
}
.navbar{
margin-bottom:0px;
}
.jumbotron{
background:url(../img/bg.jpg) center center no-repeat;
padding: 10px 0 0 0;
margin-bottom: 0px;
}
.banner-title{
font-size: 24px;
color:#ddfa52;
line-height: 1;
margin-top:90px;
}
.banner-detail{
font-size: 14px;
color:#fff;
line-height: 28px;
margin-top: 20px;
}
@media(max-width:1200px){
.banner-title{
margin-top:60px;
}
}
@media(max-width:992px){
.banner-title{
margin-top:10px;
}
}
.gray-bg{
background-color: #f2f2f2;
}
.common-title{
font-size: 30px;
color:#b5cd42;
line-height: 1;
margin-top: 45px;
}
.common-detail{
font-size: 14px;
color:#7a7a7a;
line-height: 28px;
margin-top: 18px;
}
.list-con{
margin-top: 96px;
}
.list-item{
background: url(../img/icons.png) left top no-repeat;
padding-left:138px;
height:112px;
margin-bottom: 39px;
}
.list02{
background-position: left -112px;
}
.list03{
background-position: left -224px;
}
.list04{
background-position: left -336px;
}
.list05{
background-position: left -448px;
}
.list06{
background-position: left -560px;
}
.list-item h3{
font-size:16px;
color:#4e4e4e;
font-weight: bold;
}
.list-item p{
font-size: 14px;
color:#7a7a7a;
line-height: 28px;
}
.case-list{
margin-top:60px;
padding-left: 15px;
padding-right: 15px;
}
.case-list img{
width:60%;
}
.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.jpg) 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;
}
}
<!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">
<title>music</title>
<link href="css/index.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css">
<style>
/*调整容器大小*/
#myCarousel {
width: 600px;
}
/*调整圆圈链接ol位置*/
.carousel-indicators {
bottom: -5px;
}
/*调整轮播图位置*/
/* #carousel-example-generic {
top: 100px;
} */
</style>
</head>
<body>
<nav class="navbar navbar-inverse">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<a class="font" href="#"><i>music</i></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="搜索">
<span class="input-group-btn"><button type="submit" class="btn btn-default"><span class="glyphicon glyphicon-search"></span></button></span>
</div>
</form>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
<div class="container" id="myCarousel">
<!-- 轮播图容器 -->
<div id="carousel-example-generic" class="carousel slide">
<!-- 轮播图上的圆圈链接 -->
<ol class="carousel-indicators radiou">
<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
<li data-target="#carousel-example-generic" data-slide-to="1"></li>
<li data-target="#carousel-example-generic" data-slide-to="2"></li>
<li data-target="#carousel-example-generic" data-slide-to="3"></li>
<li data-target="#carousel-example-generic" data-slide-to="4"></li>
</ol>
<!-- 轮播图具体内容 -->
<div class="carousel-inner">
<div class="item active">
<img src="img/img.jpg">
</div>
<div class="item">
<img src="img/img1.jpg">
</div>
<div class="item">
<img src="img/img2.jpg">
</div>
<div class="item">
<img src="img/img3.jpg">
</div>
<div class="item">
<img src="img/img4.jpg">
</div>
</div>
<!-- 轮播图上的向前一图切换链接 -->
<a href="#carousel-example-generic" data-slide="prev" class="left carousel-control">
<span class="glyphicon glyphicon-chevron-left"></span>
</a>
<!-- 轮播图上的向后一图切换链接 -->
<a href="#carousel-example-generic" data-slide="next" class="right carousel-control">
<span class="glyphicon glyphicon-chevron-right"></span>
</a>
</div>
</div>
<!-- 引入jquery与bootstrap的js文件 -->
<script src="http://lib.sinaapp.com/js/jquery/1.9.1/jquery-1.9.1.min.js"></script>
<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script>
$(".carousel").carousel({
interval:2000 //每隔两秒自动轮播
})
</script>
<div class="jumbotron">
<div class="container">
<div class="row">
<div class="col-lg-5 col-lg-offset-1 col-md-5 col-md-offset-1">
<h2 class="banner-title">公司简介</h2>
<p class="banner-detail">网易云音乐(NetEase CloudMusic),是一款由网易开发的音乐产品,是网易杭州研究院的成果,依托专业音乐人、DJ、好友推荐及社交功能,在线音乐服务主打歌单、社交、大牌推荐和音乐指纹,以歌单、DJ节目、社交、地理位置为核心要素,主打发现和分享。</p>
</div>
<div class="col-lg-5 col-md-5 hidden-sm hidden-xs"><img src="img/music1.jpg" class="img-responsive"></div>
</div>
</div>
</div>
<div class="container-fluid gray-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 list-con">
<div class="col-lg-4 list-item col-md-6 col-sm-6 ">
<h3>发现音乐</h3>
<p>听歌识曲,搜索,正在播放,个性推荐,主播电台</p>
</div>
<div class="col-lg-4 list-item list02 col-md-6 col-sm-6 ">
<h3>管理音乐</h3>
<p>音乐云盘,正在播放,本地音乐,最近播放,我的电台,我的收藏,我创建的歌单,我收藏的歌单</p>
</div>
<div class="col-lg-4 list-item list03 col-md-6 col-sm-6 ">
<h3>视频</h3>
<p>发表,搜索,正在播放,推荐,音乐,showtime,MV,二次元,舞蹈,游戏</p>
</div>
<div class="col-lg-4 list-item list04 col-md-6 col-sm-6 ">
<h3>社交动态</h3>
<p>添加关注,动态,附近,正在播放,发动态,发布视频</p>
</div>
<div class="col-lg-4 list-item list05 col-md-6 col-sm-6 ">
<h3>账号管理</h3>
<p>设置,扫一扫,个性换肤,夜间模式,定时关闭,音乐闹钟,驾驶模式,优惠劵,分享网易云音乐,关于</p>
</div>
<div class="col-lg-4 list-item list06 col-md-6 col-sm-6">
<h3>我的</h3>
<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">网易云音乐的定位是【移动音乐社区】,以“歌单”为核心载体,个性化推荐增强用户UGC的社交属性,形成以用户为中心的音乐生态圈。</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>根据你的音乐口味生成,每天6:00更新</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>你爱的歌,值得反复聆听<br>
私人雷达,每日更新,收藏你的最爱
</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>
<div class="container-fluid gray-bg">
<div class="container">
<div class="row links-list">
<div class="col-lg-3 col-md-6 col-sm-6 col-xs-6">
<dt>公司</dt>
<dd><a href="#">关于我们</a></dd>
<dd><a href="#">公司招聘</a></dd>
<dd><a href="">公司团队</a></dd>
<dd><a href="">版权</a></dd>
<dd><a href="">使用条款</a></dd>
<dd><a href="">隐私政策</a></dd>
<dd><a href="">联系我们</a></dd>
</div>
<div class="col-lg-3 col-md-6 col-sm-6 col-xs-6">
<dt>公司</dt>
<dd><a href="#">关于我们</a></dd>
<dd><a href="#">公司招聘</a></dd>
<dd><a href="">公司团队</a></dd>
<dd><a href="">版权</a></dd>
<dd><a href="">使用条款</a></dd>
<dd><a href="">隐私政策</a></dd>
<dd><a href="">联系我们</a></dd>
</div>
<div class="col-lg-3 col-md-6 col-sm-6 col-xs-6">
<dt>公司</dt>
<dd><a href="#">关于我们</a></dd>
<dd><a href="#">公司招聘</a></dd>
<dd><a href="">公司团队</a></dd>
<dd><a href="">版权</a></dd>
<dd><a href="">使用条款</a></dd>
<dd><a href="">隐私政策</a></dd>
<dd><a href="">联系我们</a></dd>
</div>
<div class="col-lg-3 col-md-6 col-sm-6 col-xs-6">
<dt>公司</dt>
<dd><a href="#">关于我们</a></dd>
<dd><a href="#">公司招聘</a></dd>
<dd><a href="">公司团队</a></dd>
<dd><a href="">版权</a></dd>
<dd><a href="">使用条款</a></dd>
<dd><a href="">隐私政策</a></dd>
<dd><a href="">联系我们</a></dd>
</div>
</div>
</div>
</div>
<div class="container-fluid dark-bg">
<div class="container">
<div class="row footer">
<div class="col-lg-6 col-md-6 col-sm-6 text-left">
© 2022 Comlogo.All Rights Reserved.
</div>
<div class="col-lg-6 col-md-6 col-sm-6 text-right">
<a href="">Amped Studio</a>
<a href=""> 用户认证</a>
<a href="">独立音乐人</a>
<a href="">赞赏</a>
<a href="">视频奖励</a>
</div>
</div>
</div>
</div>
<!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery,所以必须放在前边) -->
<script src="js/jquery.min.js"></script>
<!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
<script src="js/bootstrap.min.js"></script>
</body>
</html>