"Fancy Dropdowns"
Bootstrap 3.1.0 Snippet by pradeephdc

<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.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 ----------> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> Action <span class="caret"></span> </button> <ul class="dropdown-menu" role="menu"> <li class="dropdown-plus-title"> Dropdown <b class="pull-right glyphicon glyphicon-chevron-up"></b> </li> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul>
body { margin-bottom: 120px; } .btn.dropdown-toggle ~ .dropdown-menu, ul.nav li.dropdown ul.dropdown-menu { background-color: rgb(244, 244, 244); background-color: rgb(255, 255, 255); border: 0 solid rgb(66, 133, 244); box-shadow: 0px 0px 3px rgba(25, 25, 25, 0.3); top: 0px; margin: 0px; padding: 0px; } ul.nav li.dropdown ul.dropdown-menu { position: absolute; width: 100%; } .dropdown-menu .dropdown-plus-title { width: 100%; color: rgb(51, 51, 51); padding: 6px 12px; font-weight: 800; border: 0 solid rgb(173, 173, 173); border-bottom-width: 2px; cursor: pointer; } ul.nav li.dropdown ul.dropdown-menu .dropdown-plus-title { padding-top: 10px; padding-bottom: 10px; line-height: 20px; } @media (min-width: 768px) { ul.nav li.dropdown ul.dropdown-menu .dropdown-plus-title { padding-top: 15px; padding-bottom: 15px; } } @media (min-width: 768px) { ul.nav li.dropdown ul.dropdown-menu { width: auto; } }

Related: See More


Questions / Comments: