bootstrap navbar导航栏固定top怎么做到在第一页背景是没有颜色的 移动到下一页 导航栏的颜色换成黄色的 5
目前写了简单的navbar-fixed-top<divclass="navinavbar-fixed-top"><divclass="head-logo"><ahref=...
目前写了简单的navbar-fixed-top
<div class="navi navbar-fixed-top">
<div class="head-logo"> <a href="index.html"><img src="images/logo.png" alt=" "/></a> </div>
<div class="banner-nav"> <span class="menu"><img src="images/menu.png" alt=" "/></span>
<nav class="cl-effect-3">
<ul class="nav1">
<li class="active"><a href="#carousel1" class="scroll">首页</a></li>
<li><a href="#portfolio" class="scroll">风光</a></li>
<li><a href="#pricing" class="scroll">商品列表</a></li>
<!--<li><a href="#products" class="scroll">产品介绍</a></li>-->
<li><a href="#contact" class="scroll">联系我们</a></li>
</ul>
</nav>
</div>
<div class="clearfix"> </div>
</div> 展开
<div class="navi navbar-fixed-top">
<div class="head-logo"> <a href="index.html"><img src="images/logo.png" alt=" "/></a> </div>
<div class="banner-nav"> <span class="menu"><img src="images/menu.png" alt=" "/></span>
<nav class="cl-effect-3">
<ul class="nav1">
<li class="active"><a href="#carousel1" class="scroll">首页</a></li>
<li><a href="#portfolio" class="scroll">风光</a></li>
<li><a href="#pricing" class="scroll">商品列表</a></li>
<!--<li><a href="#products" class="scroll">产品介绍</a></li>-->
<li><a href="#contact" class="scroll">联系我们</a></li>
</ul>
</nav>
</div>
<div class="clearfix"> </div>
</div> 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询