Bootstrap 3 is still at RC, but I was just trying to implement it. I couldn't figure out how to put a sub menu class. Even there is no class in css and even the new docs don't say anything about it
It was there in 2.x with class name as dropdown-submenu
Best Answer
Bootstrap 5 (update 2021)
Add some JavaScript to prevent the submenu from closing when the parent dropdown is open. This can be done be toggle
display:block
...Bootstrap 5 Multi-level Dropdown - click
Bootstrap 5 Multi-level Dropdown - hover
Or, you can use this CSS only method for Navbar dropdowns...
Bootstrap 5 Navbar Dropdown Hover Submenus (CSS only)
Bootstrap 4 (update 2018)
The
dropdown-submenu
has been removed in Bootstrap 3 RC. In the words of Bootstrap author Mark Otto..But, with a little extra CSS you can get the same functionality.
navbar submenu on hover:
Navbar submenu dropdown hover
Navbar submenu dropdown hover (right aligned)
Navbar submenu dropdown click (right aligned)
Navbar dropdown hover (no submenu)
Bootstrap 3
Here is an example that uses 3.0 RC 1: http://bootply.com/71520Here is an example that uses Bootstrap 3.0.0 (final): http://bootply.com/86684
CSS
Sample Markup
P.S. - Example in navbar that adjusts left position: http://bootply.com/92442