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.

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 Divider

Separate groups of related menu items with a divider.