Examples

Toggle contextual overlays for displaying lists of links and more with the Bootstrap dropdown plugin.

Single button dropdowns

Any single .btn can be turned into a dropdown toggle with some markup changes. Here’s how you can put them to work with either <button> elements:

Dropright variation

Trigger dropdown menus at the right of the elements by adding .dropright to the parent element.

Dropup variation

Trigger dropdown menus above elements by adding .dropup to the parent element.

Split button dropdowns

Similarly, create split button dropdowns with virtually the same markup as single button dropdowns, but with the addition of .dropdown-toggle-split for proper spacing around the dropdown caret.

Sizing

Button dropdowns work with buttons of all sizes, including default and split dropdown buttons.

Dropleft variation

Trigger dropdown menus at the right of the elements by adding .dropleft to the parent element.

Menu alignment

Add .dropdown-menu-right to a .dropdown-menu to right align the dropdown menu.

© Highdmin theme by Coderthemes