Bootstrap Menu is an exclusive component of Good that provides a simple and elegent solution for Bootstrap Menu with nested Dropdown and Accordion Submenus.
Usage
Bootstrap Menu's CSS and Javascript bundles are globally included in all pages.
Bootstrap Menu structure is split into 3 parts. The
trigger element, the
menu containerand the
menu items.
The trigger element can be any HTML element. For example, a
button, an
inputfield or an empty
div.
Add
data-kt-menu-triggerto the trigger element with a value of
clickor
hoverinitialize the menu trigger type.
Add
.menuCSS class to the menu container along with
data-kt-menu="true"attribute to define the menu container. There are other options available as well,
listed below.
Add
.menu-itemCSS class to the menu item elements to define the menu elements. Add
.menu-linkas a child element within
.menu-itemto enable a clean hover state effect.
Bootstrap Menu can be nested within itself to allow multiple tier menus. Please refer to our
nested menu example below.
Bootstrap Menu supports all Bootstrap styling classes.