Any single .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:
Add .btn.btn-sm && .btn.btn-lg
for additional sizes.
The best part is you can do this with any button variant, too:
Use any of the available .btn-rounded
classes quickly create a styled button.
Similarly, create split button dropdowns with virtually the same markup as single button dropdowns, but with the code addition of .dropdown-toggle-split
for proper spacing around the dropdown caret.
Use any of the available .btn-rounded
classes quickly create a styled button.
Use any of the available .btn-outline-*
classes quickly create a styled button.
Use any of the available .btn-outline-*
classes quickly create a styled button.
Dropdown menu ex:- Header, Divider, Form, Text.
Some example text that's free-flowing within the dropdown menu.
And this is more example text.
Opt into darker dropdowns to match a dark navbar or custom style by adding.dropdown-menu-dark
onto an existing .dropdown-menu.
No changes are required to the dropdown items.
Use any of the available .icon-Btn
classes quickly create a styled button.