Basic Dropdown
A dropdown menu is a toggleable menu that allows the user to choose one value from a predefined list
Dropdown Divider
The .dropdown-divider
class is used to separate links inside the dropdown menu with a thin horizontal border
Dropdown Header
The .dropdown-header
class is used to add headers inside the dropdown menu
Disable and Active items
The .dropdown-header
class is used to add headers inside the dropdown menu
Align Right
To right-align the dropdown,add the .dropdown-menu-right
class to the element with .dropdown-menu
Dropup
The .dropup
class makes the dropdown menu expand upwards instead of downwards
Dropright
Trigger dropdown menus at the right of the elements by adding .dropright
to the parent element
Dropleft
Trigger dropdown menus at the right of the elements by adding .dropleft
to the parent element
Button Dropdowns
Sizing
Button dropdowns work with buttons of all sizes,including default and split dropdown buttons.
Custom style
Use .custom-dropdown
this class for this style