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 Documentation for a full list of instructions and other options.
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.
Trigger dropdown menus above elements by adding dropup class to the parent element.
Trigger dropdown menus above elements by adding dropright class to the parent element.
Trigger dropdown menus above elements by adding dropleft class to the parent element.
Add active class to items in the dropdown to style them as active.
Add disabled class to items in the dropdown to style them as disabled.
Add a header to label sections of actions in any dropdown menu.
Separate groups of related menu items with a divider.
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.
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.