.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..dropdown-toggle-split
for proper spacing around the dropdown caret.disabled
attribute on data-toggle="dropdown"
to disable the toggle..dropdown-menu-right
to a dropdownMenu
to right align the dropdown menu..active
to items in the dropdown to style them as active or add .disabled
to items in the dropdown to style them as disabled.