Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"Combo of various elements."
Bootstrap 3.3.0 Snippet by
themummer
3.3.0
Preview
HTML
CSS
View Full Screen
Fork
Fork this
2.6K
 
0 Fav
Post to Facebook
Tweet this
<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 ----------> <nav class="navbar navbar-inverse navbar-fixed-top"> <div class="container"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button class="navbar-toggle collapsed" data-target="#navbar-collapse-3" data-toggle="collapse" type="button"><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="navbar-collapse-3"> <ul class="nav navbar-nav"> <li class="row"> <a class="dropdown-toggle" data-toggle="dropdown" href="#">Dropdown</a> <ul class="dropdown-menu dropdown-menu-large row"> <li class="col-sm-2"> <ul> <li class="dropdown-header">Sample Subsection</li> <li>Sample Item</li> <li>Sample Item</li> <li>Sample Item</li> <li>Sample Item</li> <li class="dropdown-header">Sample Subsection</li> <li>Sample Item</li> <li>Sample Item</li> <li>Sample Item</li> <li>Sample Item</li> <li class="dropdown-header">Sample Subsection</li> <li>Sample Item</li> <li>Sample Item</li> <li>Sample Item</li> <li>Sample Item</li> <li class="dropdown-header">Sample Subsection</li> <li>Sample Item</li> <li>Sample Item</li> <li>Sample Item</li> <li>Sample Item</li> <li class="divider"></li> </ul> </li> <li class="col-sm-2"> <ul> <li class="dropdown-header">Sample Subsection</li> <li>Sample Item</li> <li>Sample Item</li> <li>Sample Item</li> <li>Sample Item</li> <li class="dropdown-header">Sample Subsection</li> <li>Sample Item</li> <li>Sample Item</li> <li>Sample Item</li> <li>Sample Item</li> <li class="dropdown-header">Sample Subsection</li> <li>Sample Item</li> <li>Sample Item</li> <li>Sample Item</li> <li>Sample Item</li> <li class="dropdown-header">Sample Subsection</li> <li>Sample Item</li> <li>Sample Item</li> <li>Sample Item</li> <li>Sample Item</li> <li class="divider"></li> </ul> </li> <li class="col-sm-2"> <ul> <li class="dropdown-header">Sample Subsection</li> <li>Sample Item</li> <li>Sample Item</li> <li>Sample Item</li> <li>Sample Item</li> <li class="dropdown-header">Sample Subsection</li> <li>Sample Item</li> <li>Sample Item</li> <li>Sample Item</li> <li>Sample Item</li> <li class="dropdown-header">Sample Subsection</li> <li>Sample Item</li> <li>Sample Item</li> <li>Sample Item</li> <li>Sample Item</li> <li class="dropdown-header">Sample Subsection</li> <li>Sample Item</li> <li>Sample Item</li> <li>Sample Item</li> <li>Sample Item</li> <li class="divider"></li> </ul> </li> <li class="col-sm-6"> <div style="margin-left: 2em"> <center> <ul> <li> <div class="row" id="Nav-Extras"> <div class="col-sm-12" id="nav-title"> Nav Extras </div> <div class="col-sm-6" id="extra-inset"> <img id="NavImage" src="https://sep.yimg.com/ay/yhst-135126711448833/sample-subsection-1.png"> <div id="InsetTitle"> Sample Subsection </div> </div> <div class="col-sm-6" id="extra-inset"> <img id="NavImage" src="https://sep.yimg.com/ay/yhst-135126711448833/sample-subsection-1.png"> <div id="InsetTitle"> Sample Subsection </div> </div> <div class="col-sm-6" id="extra-inset"> <img id="NavImage" src="https://sep.yimg.com/ay/yhst-135126711448833/sample-subsection-1.png"> <div id="InsetTitle"> Sample Subsection </div> </div> <div class="col-sm-6" id="extra-inset"> <img id="NavImage" src="https://sep.yimg.com/ay/yhst-135126711448833/sample-subsection-1.png"> <div id="InsetTitle"> Sample Subsection </div> </div> </div> </li> </ul> </center> </div> </li> </ul> </li> </ul> <ul class="nav navbar-nav navbar-right"> <li> <a href="#">Contact Us</a> </li> <li> <a href="#">About Us</a> </li> <li> <a href="#">FAQ</a> </li> <li> <a href="tel:555-555-1212">555-555-1212</a> </li> <li> <a href="#">Si Habla Espanol</a> </li> <li> <a aria-controls="nav-collapse3" aria-expanded="false" class="btn btn-default btn-outline btn-circle" data-toggle="collapse" href="#nav-collapse3">Search</a> </li> </ul> <div class="collapse nav navbar-nav nav-collapse" id="nav-collapse3"> <form class="navbar-form navbar-right" role="search"> <div class="form-group"> <input class="form-control" placeholder="Search" type="text"> </div><button class="btn btn-danger" type="submit"><span aria-hidden="true" class="glyphicon glyphicon-search"></span></button> </form> </div> </div><!-- /.navbar-collapse --> </div><!-- /.container --> </nav><!-- /.navbar -->
/* Code snippet by maridlcrmn for Bootsnipp.com Follow me on Twitter @maridlcrmn */ .navbar-brand { position: relative; z-index: 2; } .navbar-nav.navbar-right .btn { position: relative; z-index: 2; padding: 4px 20px; margin: 10px auto; } .navbar .navbar-collapse { position: relative; } .navbar .navbar-collapse .navbar-right > li:last-child { padding-left: 22px; } .navbar .nav-collapse { position: absolute; z-index: 1; top: 0; left: 0; right: 0; bottom: 0; margin: 0; padding-right: 120px; padding-left: 80px; width: 100%; } .navbar.navbar-default .nav-collapse { background-color: #f8f8f8; } .navbar.navbar-inverse .nav-collapse { background-color: #222; } .navbar .nav-collapse .navbar-form { border-width: 0; box-shadow: none; } .nav-collapse>li { float: right; } .btn.btn-circle { border-radius: 50px; } .btn.btn-outline { background-color: transparent; } @media screen and (max-width: 767px) { .navbar .navbar-collapse .navbar-right > li:last-child { padding-left: 15px; padding-right: 15px; } .navbar .nav-collapse { margin: 7.5px auto; padding: 0; } .navbar .nav-collapse .navbar-form { margin: 0; } .nav-collapse>li { float: none; } } #NavImage { width: 100%; } .navbar-nav > li > .dropdown-menu { margin-top: 0; background-color: lightgray; max-width: 1000px; width: 1000px; } #nav-title { margin: 15% 0 15% 0; font-size: 36px; } #Nav-Extras { border-left: 1px double lightgray; padding: 0 10px 0 10px; margin: 10px 0 0 0; } ul, ol { margin-top: 0; margin-bottom: 10px; list-style: none; }
Related:
See More
Template
Vue Material Kit PRO
127.0K
38
Filter elements, sidebar filter panel bootstrap 4
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76