"Custom Navbar with Search Option Bootstrap 4"
Bootstrap 4.0.0 Snippet by uyab

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.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 ----------> <nav class="navbar fixed-top navbar-expand-md custom-navbar navbar-dark"> <img class="navbar-brand" src="http://acmsocc.github.io/2016/assets/img/googlelogo_color_324x112dp.png" id="logo_custom" width="10%" alt="logo"> <button class="navbar-toggler navbar-toggler-right custom-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar"> <span class="navbar-toggler-icon "></span> </button> <div class="collapse navbar-collapse " id="collapsibleNavbar"> <ul class="navbar-nav m-auto "> <li class="nav-item"> <a class="nav-link" href="#offer"><b>Our Offer</b></a> </li> <li class="nav-item"> <a class="nav-link" href="#"><b>How it works</b></a> </li> <li class="nav-item"> <a class="nav-link" href="#"><b>Benifits</b></a> </li> </ul> <form class="form-inline ml-auto"> <input class="form-control mr-sm-2" type="text" placeholder="Search"> <button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button> </form> </div> </nav>
.custom-navbar{box-shadow: 10px 10px 10px #eee; z-index:;background-color: #fff;} .nav-link{color: #f7204e!important;} .custom-toggler.navbar-toggler {border-color: rgb(247,32,78);} .custom-toggler .navbar-toggler-icon {background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(247,32,78, 0.7)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");} .custom-toggler .navbar-toggler-icon{width: 18px!important;} .custom-toggler:hover{border-color: rgb(255,255,255); background-color: #f76a88;} .navbar-toggler-icon:hover{background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 0.7)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");}#logo_custom{margin-top: -6px;} @media only screen and (max-width: 760px) { #logo_custom{width: 40%;}}

Related: See More


Questions / Comments: