"Custom Bootstrap Menu "
Bootstrap 3.3.0 Snippet by wolfgang1983

<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 ----------> <div class="container"> <div class="page-container"> <nav class="navbar navbar-default"> <!-- 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> </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><a class="brand" href="#">Brand</a></li> <li class="active"><a href="#">Home</a></li> <li><a href="#">Forum</a></li> <li><a href="#">Snippets</a></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Examples <span class="caret"></span></a> <ul class="dropdown-menu"> <li><a href="#">CodeIgniter</a></li> <li><a href="#">PHP</a></li> <li><a href="#">Bootstrap</a></li> </ul> </li> <li><a href="#">Portfolio</a></li> </ul> </div><!-- /.navbar-collapse --> </nav> </div><!-- Page Container --> </div>
body { margin: 40px 0; background-color: #222222; } @media (min-width: 768px) { .navbar-nav > li { float: none; display: inline-block; } .navbar-default { background: none; border: none; } .navbar-nav { float: none !important; text-align: center; margin: 0 auto; text-align: center; } .navbar:after { margin: none; content: " "; position: absolute; left: 0px; right: 0px; height: 7px; background: #222 !important; width: 100%; } a.brand { transition: color 1s ease, text-shadow 0.3s ease; background-color: #222 !important; color: #ffffff !important; } .navbar-nav > li > a { font-style: italic; display: inline-block; box-sizing: border-box; margin: none; transition: background 0.1s ease 0.05s, box-shadow 0.1s ease; box-shadow: 8px 0 25px rgba(0, 0, 0, 0.3); color: #444; background: #d9d9d9; padding: 15px 45px; } .navbar-nav > li > a:hover, .navbar-nav > li > a:focus { background-image: linear-gradient(to top, #828282 0%, #7d7d7d 19%, #969696 100%); box-shadow: 8px 0 25px 2px rgba(0, 0, 0, 0.3); background-color: #969696; color: white; } } .page-container { background: #eee; padding-top: 25px; min-height: 380px; box-shadow: 6px 6px 0px #9C9698, 12px 12px 0px #6B6768; }

Related: See More


Questions / Comments: