This chapter will show you how to use Bootstrap classes to add a dropdown menu to buttons. Simply surround the button and the dropdown menu in a.btn-group to add a dropdown to it. span class = "caret">/span> can also be used to indicate that the button is a drop down.
The following example shows a simple single-button dropdown menu.
Split button dropdowns use the same general style as the dropdown button but add a primary action along with the dropdown. Split buttons have the primary action on the left and a toggle on the right that displays the dropdown.
|