"Bootstrap Mega Menu"
Bootstrap 3.3.0 Snippet by xrozix

<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"> <nav class="navbar navbar-default"> <div class="navbar-header"> <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".js-navbar-collapse"> <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="#">Ukumbi</a> </div> <div class="collapse navbar-collapse js-navbar-collapse"> <ul class="nav navbar-nav"> <li class="dropdown mega-dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Select your County <span class="glyphicon glyphicon-chevron-down pull-right"></span></a> <ul class="dropdown-menu mega-dropdown-menu row"> <li class="col-sm-3"> <ul> <li class="dropdown-header">B</li> <li><a href="#"> Baringo</a></li> <li><a href="#"> Bomet </a></li> <li><a href="#"> Bungoma </a></li> <li><a href="#"> Busia </a></li> <li class="divider"></li> <li class="dropdown-header">E</li> <li><a href="#">Elgeyo/ Marakwet</a></li> <li><a href="#">Embu</a></li> <li class="divider"></li> <li class="dropdown-header">G</li> <li><a href="#"> Garissa </a></li> <li class="divider"></li> <li class="dropdown-header">H</li> <li><a href="#"> Homabay </a></li> <li class="divider"></li> <li class="dropdown-header">I</li> <li><a href="#"> Isiolo </a></li> <li class="divider"></li> <li class="dropdown-header">K</li> <li><a href="#"> Kajiado </a></li> <li><a href="#"> Kakamega </a></li> <li><a href="#"> Kericho </a></li> <li><a href="#"> Kiambu </a></li> <li><a href="#"> Kilifi </a></li> <li><a href="#"> Kirinyaga </a></li> <li><a href="#"> Kisii </a></li> <li><a href="#"> Kisumu </a></li> <li><a href="#"> Kitui </a></li> <li><a href="#"> Kwale </a></li> </ul> </li> <li class="col-sm-3"> <ul> <li class="dropdown-header">L</li> <li><a href="#"> Laikipia </a></li> <li><a href="#"> Lamu </a></li> <li class="divider"></li> <li class="dropdown-header">M</li> <li><a href="#"> Machakos </a></li> <li><a href="#"> Makueni </a></li> <li><a href="#"> Mandera </a></li> <li><a href="#"> Marsabit </a></li> <li><a href="#"> Meru </a></li> <li><a href="#"> Migori </a></li> <li><a href="#"> Mombasa </a></li> <li><a href="#"> Murang'a</a></li> <li class="divider"></li> <li class="dropdown-header">N</li> <li><a href="#"> Nairobi </a></li> <li><a href="#"> Nakuru </a></li> <li><a href="#"> Nandi </a></li> <li><a href="#"> Narok </a></li> <li><a href="#"> Nyamira </a></li> <li><a href="#"> Nyandarua </a></li> <li><a href="#"> Nyeri </a></li> <li class="divider"></li> <li class="dropdown-header">S</li> <li><a href="#"> Samburu </a></li> <li><a href="#"> Siaya </a></li> </ul> <li class="col-sm-3"> <ul> <li class="divider"></li> <li class="dropdown-header">T</li> <li><a href="#"> Taita Taveta</a></li> <li><a href="#"> Tana River </a></li> <li><a href="#"> Transzoia </a></li> <li><a href="#"> Turkana </a></li> <li><a href="#"> Tharaka Nithi </a></li> <li class="divider"></li> <li class="dropdown-header">U</li> <li><a href="#"> Uasin Gishu </a></li> <li class="divider"></li> <li class="dropdown-header">V</li> <li><a href="#"> Vihiga </a></li> <li class="divider"></li> <li class="dropdown-header">W</li> <li><a href="#"> Wajir </a></li> <li><a href="#"> Westpokot</a></li> </ul> <li class="col-sm-3"> <ul> <li class="dropdown-header">New in Ukumbi</li> <div id="myCarousel" class="carousel slide" data-ride="carousel"> <div class="carousel-inner"> <div class="item active"> <a href="#"><img src="http://placehold.it/254x150/3498db/f5f5f5/&text=New+Collection" class="img-responsive" alt="product 1"></a> <h4><small>Kinuthia Mbugua</small></h4> <button class="btn btn-primary" type="button">Veiw Page</button> <button href="#" class="btn btn-default" type="button"><span class="glyphicon glyphicon-heart"></span> Like</button> </div> <!-- End Item --> <div class="item"> <a href="#"><img src="http://placehold.it/254x150/ef5e55/f5f5f5/&text=New+Collection" class="img-responsive" alt="product 2"></a> <h4><small>Gold sandals with shiny touch</small></h4> <button class="btn btn-primary" type="button">Veiw Page</button> <button href="#" class="btn btn-default" type="button"><span class="glyphicon glyphicon-heart"></span> Like</button> </div> <!-- End Item --> <div class="item"> <a href="#"><img src="http://placehold.it/254x150/2ecc71/f5f5f5/&text=New+Collection" class="img-responsive" alt="product 3"></a> <h4><small>Denin jacket stamped</small></h4> <button class="btn btn-primary" type="button">Veiw Page</button> <button href="#" class="btn btn-default" type="button"><span class="glyphicon glyphicon-heart"></span> Like</button> </div> <!-- End Item --> </div> <!-- End Carousel Inner --> </div> <!-- /.carousel --> <li class="divider"></li> <li><a href="#">View all <span class="glyphicon glyphicon-chevron-right pull-right"></span></a></li> </ul> </li> </li> </ul> </li> </ul> </div> <!-- /.nav-collapse --> </nav> </div> <h1 class="c-text"> Bootstrap Mega Menu </h1>
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,700); body { font-family: 'Open Sans', 'sans-serif'; background: #f0f0f0; background: url(https://pcbx.us/bfjb.jpg); } h1, .h1 { font-size: 36px; text-align: center; font-size: 5em; color: #404041; } .navbar-nav>li>.dropdown-menu { margin-top: 20px; border-top-left-radius: 4px; border-top-right-radius: 4px; } .navbar-default .navbar-nav>li>a { width: 200px; font-weight: bold; } .mega-dropdown { position: static !important; width: 100%; } .mega-dropdown-menu { padding: 20px 0px; width: 100%; box-shadow: none; -webkit-box-shadow: none; } .mega-dropdown-menu:before { content: ""; border-bottom: 15px solid #fff; border-right: 17px solid transparent; border-left: 17px solid transparent; position: absolute; top: -15px; left: 285px; z-index: 10; } .mega-dropdown-menu:after { content: ""; border-bottom: 17px solid #ccc; border-right: 19px solid transparent; border-left: 19px solid transparent; position: absolute; top: -17px; left: 283px; z-index: 8; } .mega-dropdown-menu > li > ul { padding: 0; margin: 0; } .mega-dropdown-menu > li > ul > li { list-style: none; } .mega-dropdown-menu > li > ul > li > a { display: block; padding: 3px 20px; clear: both; font-weight: normal; line-height: 1.428571429; color: #999; white-space: normal; } .mega-dropdown-menu > li ul > li > a:hover, .mega-dropdown-menu > li ul > li > a:focus { text-decoration: none; color: #444; background-color: #f5f5f5; } .mega-dropdown-menu .dropdown-header { color: #428bca; font-size: 18px; font-weight: bold; } .mega-dropdown-menu form { margin: 3px 20px; } .mega-dropdown-menu .form-group { margin-bottom: 3px; }
jQuery(document).on('click', '.mega-dropdown', function(e) { e.stopPropagation() })

Related: See More


Questions / Comments: