We have styled all Bootstrap elements just as you want!
Wrap the dropdown's trigger and the dropdown menu within .dropdown
, or another element that declares position: relative;
. Then add the menu's HTML.
Dropdown menus can be changed to expand upwards (instead of downwards) by adding .dropup
to the parent.
Wrap the dropdown's trigger and the dropdown menu within .dropdown
, or another element that declares position: relative;
. Then add the menu's HTML.
Add a header to label sections of actions in any dropdown menu. Add a divider to separate series of links in a dropdown menu.
Add .disabled
to a <li>
in the dropdown to disable the link.