Dropdown
Dropdowns are toggleable,contextual overlays for displaying lists of links and more. They’re made interactive with the included Bootstrap dropdown javascript plugin. Read the Official Bootstrap Documentationfor a full list of instructions and other options.
Basic Example
Wrap the dropdown’s toggle(your button or link) and the dropdown menu within .dropdown
,or another element that declares position relative. Dropdowns can be triggered from link or button elements to better fit your potential needs.
Dropup
Trigger dropdown menus above elements by adding dropup class to the parent element.
Dropright
Trigger dropdown menus above elements by adding dropright class to the parent element.
Dropleft
Trigger dropdown menus above elements by adding dropleft class to the parent element.
Active Menu Item
Add active class to items in the dropdown to style them as active.
Disabled Menu Item
Add disabled class to items in the dropdown to style them as disabled.
Dropdown Header
Add a header to label sections of actions in any dropdown menu.
Dropdown Divider
Separate groups of related menu items with a divider.
Text in Dropdown
Place any freeform text within a dropdown menu with text and use spacing utilities. Note that you’ll likely need additional sizing styles to constrain the menu width.
Form in Dropdown
Put a form within a dropdown menu, or make it into a dropdown menu, and use margin or padding utilities to give it the negative space you require.