"#navigation #active"
Bootstrap 3.3.0 Snippet by SANTANU CHOWDHURY

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!-- top-nav --> <div class="top-nav"> <div class="container"> <div class="row"> <div class="col-md-12"> <p>Welcome to our site.</p> </div> </div> </div> </div><!-- /top-nav --> <!-- navbar --> <nav class="navbar navbar-default"> <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="#">Brand</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 navbar-right"> <li><a id="home" href="#">HOME</a></li> <li><a id="about" href="#">ABOUT</a></li> <li><a id="" href="#">SURVICES</a></li> <li><a id="" href="#">PROJECT</a></li> <li><a id="" href="#">BLOG</a></li> <li><a id="" href="#">CONTACT</a></li> </ul> </div><!-- /.navbar-collapse --> </div><!-- /.container-fluid --> </nav><!-- /navbar -->
body{ /* font-family: 'Open Sans', sans-serif; */ font-family: 'Roboto', sans-serif; /* font-family: 'Poppins', sans-serif; */ } h1,h2,h3,h4{ font-weight: 500; letter-spacing: 0.7px; margin: 0px; } p{ margin: 0px; color: #555; font-size: 15px; line-height: 22px; } a{ } /* top-nav */ .top-nav{ background-color: #ccc; color: #000; padding: 6px 15px; } /* navbar */ .navbar{ min-height: 70px; margin-bottom: 0px; } .navbar-nav>li>a { font-size: 15px; line-height: 3.428571; font-weight: 400; } .navbar-default .navbar-nav>li>a:hover{ color: #f00; box-shadow: 0px 20px 0px -18px #FF0000; } .navbar-brand { padding:0px 15px; line-height: 3.428571; } .add{ color: #f00; box-shadow: 0px 20px 0px -18px #FF0000; }
$(document).ready(function(){ $("#home").addClass("add"); });

Related: See More


Questions / Comments: