"nestnav"
Bootstrap 4.1.1 Snippet by Tdm8309

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!--- Start Home Section --> <div id="home"> <!--- Navigation --> <nav class="navbar navbar-expand-md fixed-top"> <div class="container-fluid"> <a class="navbar-brand" href="#"><img src="img/nest.png" alt=""></a> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive"> <span class="custom-toggler-icon"><i class="fas fa-bars"></i></span> </button> <div class="collapse navbar-collapse" id="navbarResponsive"> <ul class="navbar-nav ml-auto"> <li class="nav-item"> <a class="nav-link" href="#home">Home</a> </li> <li class="nav-item"> <a class="nav-link" href="#about">About</a> </li> <li class="nav-item"> <a class="nav-link" href="#portfolio">Portfolio</a> </li> <li class="nav-item"> <a class="nav-link" href="#testimonials">Testimonials</a> </li> <li class="nav-item"> <a class="nav-link" href="#contact">Contact</a> </li> </ul> </div> </div> </nav> <!--- End Navigation -->
.navbar { padding: .6rem 1rem; text-transform: uppercase; font-size: .9rem; font-weight: 700; letter-spacing: .1rem; background-color: rgba(57, 63, 70, .9)!important; } .navbar-brand img { height: 2rem; } .navbar-nav .nav-link { color: white; padding-top: .8rem; } .navbar-nav .nav-link.active, .navbar-nav .nav-link:hover { color: #00B3FF; } .svg-inline--fa.fa-w-14 { color: white; font-size: 1.6rem; } .navbar-nav li { padding-right: .8rem; }

Related: See More


Questions / Comments: