"Multi column dropdown"
Bootstrap 3.1.0 Snippet by pennstatephil

<div class="container"> Credit: <a href="http://www.devlifeline.com/2013/09/multi-column-bootstrap-dropdown.html">Source</a> <div class="row"> <ul class="nav"> <li class="dropdown"> <a href="#" data-toggle="dropdown">Dropdown Heading</a> <div class="dropdown-menu multi-column"> <div class="container-fluid"> <div class="row-fluid"> <div class="span6"> <ul class="dropdown-menu"> <li><a href="#">Col 1 - Opt 1</a></li> <li><a href="#">Col 1 - Opt 2</a></li> </ul> </div> <div class="span6"> <ul class="dropdown-menu"> <li><a href="#">Col 2 - Opt 1</a></li> <li><a href="#">Col 2 - Opt 2</a></li> </ul> </div> </div> </div> </div> </li> </ul> </div> </div>
.dropdown-menu.multi-column { width: 400px; } .dropdown-menu.multi-column .dropdown-menu { display: block !important; position: static !important; margin: 0 !important; border: none !important; box-shadow: none !important; }

Similar snippets: See More


Comments:

comments powered by Disqus