我想制作一个类似于这个网站 fcinq.com 的粘性标题但我对导航栏和菜单颜色样式有点困惑。我将容器放在标题中并将其分成两部分,但我无法像 fcinq.com 那样制作粘性标题
那么如何制作与 fcinq.com 相同的标题?网站链接:https ://www.fcinq.com/
<nav class="navbar navbar-inverse" role="navigation" style="">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="col-md-8" style="margin-bottom: 200px;">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<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="#about">Jhon Budy</a>
</div>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="col-md-4" style="background: blue;/*! margin-bottom: 68px; */">
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li class="current" style="margin-top: 102px;margin-bottom: 60px;"><a href="#about">About</a>
<a href="#work">Work</a>
<a href="#contact">Contact</a></li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
</div>
<!-- /.container-fluid -->
</nav>