For some of the more commonly used functional modules, Bootstrap also carried out encapsulation. Includes Drop-down menus, button groups, navigation, pagination, thumbnails, progress bars, and so on.
Below is a summary of the use of the dropdown menu.
Look directly at the following example:
The effect is as follows:
Description
(1) the button (hyperlink) and the dropdown selection need to be included in the <div class= "Dropdwon" >...</div>;
(2) button (hyperlink) must add Data-toggle= "dropdown" trigger;
(3) The unordered list of placement Drop-down options needs to be added. Dropdown-menu class;
(4) Add an empty <li class= "divider" ></li> label to implement the delimited list item.
If you want to further study, you can click here to learn, and then attach 3 wonderful topics:
Bootstrap Learning Course
Bootstrap Practical Course
Bootstrap Plugin Usage Tutorial
The above is the entire content of this article, I hope to help you learn, but also hope that we support the cloud habitat community.