Responsive submenu design using html and css. website header design with responsive submenu code example. you can easy implement in web page

you can get code of bootstrap header menu snippet. we give you example of bootstrap responsive navigation menu , you can simple copy bellow code and use in your project. If it free snippets of responsive header menu So you have to simple get those bellow code from tab of html, css and js. you simple click on HTML Code then you will get html code step by step menu css snippets, click on JS Code tab get code of jquery codd for bootstrap submenu navbar snippets, same as for CSS Code tab. It's pretty easy and simple example of mobile friendly menu bar css snippet.

<!DOCTYPE html> <html> <head> <script src=""></script> <script src=""></script> <link rel="stylesheet" type="text/css" href=""> <link rel="stylesheet" type="text/css" href=""> </head> <body> <div class="container"> <nav class="navbar navbar-default"> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse-2"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> </div> <ul class="nav navbar-nav collapse navbar-collapse" id="navbar-collapse-2"> <li><a href="#"> <i class="fa fa-home" aria-hidden="true"></i> Home</a></li> <li><a href="#"> <i class="fa fa-picture-o" aria-hidden="true"></i> Gallery <i class="fa fa-sort-desc" aria-hidden="true"></i></a> <ul> <li><a href="#">Sub category</a></li> <li><a href="#">Sub category</a></li> <li><a href="#">Sub category <i class="fa fa-angle-right" aria-hidden="true"></i></a> <ul> <li><a href="#">Sub category</a></li> <li><a href="#">Sub category</a></li> </ul> </li> </ul> </li> <li><a href="#"><i class="fa fa-codiepie" aria-hidden="true"></i> Category <i class="fa fa-sort-desc" aria-hidden="true"></i></a> <ul> <li><a href="#">Sub category</a></li> <li><a href="#">Sub category</a></li> <li><a href="#">Sub category</a></li> <li><a href="#">Sub category</a></li> </ul> </li> <li><a href="#"><i class="fa fa-address-card-o" aria-hidden="true"></i> About us</a></li> <li><a href="#"><i class="fa fa-phone" aria-hidden="true"></i> Contact us</a></li> <li class="custom-login"><a href="#"><i class="fa fa-sign-in" aria-hidden="true"></i> login</a></li> <li class="custom-register"><a href="#"> <i class="fa fa-pencil-square-o" aria-hidden="true"></i> Register</a></li> <li class="search"> <div class="input-group stylish-input-group"> <input type="text" class="form-control" placeholder="Search" > <span class="input-group-addon"> <button type="submit"> <span class="glyphicon glyphicon-search"></span> </button> </span> </div> </li> </ul> </nav> </div> </body> </html>
.navbar-default{ border:none; border-radius: 0px; background:#009BDD; } .navbar-collapse{ padding: 0px; margin: 0px; } nav ul{ width: 100% !important; } nav ul li{ display: inline; position: relative; } nav ul li ul{ width: 175px !important; position: absolute; top:50px; left:0; padding: 0; display: none; } nav ul li:hover{ background-color: #007DA7; } nav ul li ul li a{ display:block; padding:10px; background: #009BDD; border-bottom: 1px solid #fff; } nav ul li ul li ul{ left: 175px; top:-27px; position: absolute; display: none; } nav ul .fa-sort-desc{ position: relative; top: -3px; right: -5px; } nav ul li ul li i{ margin-left:20px !important; } nav ul li a:hover{ background:#007DA7 !important; text-decoration: none; } nav ul li a{ text-decoration: none; font-weight: bold; text-transform: uppercase; color: #fff !important; } nav ul li:hover > ul{ display: block; } .stylish-input-group .input-group-addon{ background: white !important; } .stylish-input-group .form-control{ border-right:0; box-shadow:0 0 0; border-color:#ccc; } .stylish-input-group button{ border:0; background:transparent; } nav ul .search, nav ul .custom-login, nav ul .custom-register{ float: right; } nav ul .search{ margin: 7px 10px 0px 0px; border-radius:4px; width:100px; } @media only screen and (max-width:480px) { .navbar-default{ background-color:#009BDD; } .navbar-default .navbar-toggle .icon-bar{ background-color: #fff; } .navbar-collapse{ padding:10px 20px; } nav ul li ul{ top:0px; width:100% !important; position: relative; } nav ul ul li ul{ position: relative !important; width: 100% !important; } nav ul li ul li ul{ top:1px !important; left:0px !important; } nav ul .search,nav ul .custom-login,nav ul .custom-register{ float:unset; } }

Please Subscribe Your Email Address, We Will Notify You When Add New Snippet:

Random Post