How to set up bootstrap drop-down list

(*-*)浩
Release: 2019-07-11 11:20:23
Original
3276 people have browsed it

This chapter will focus on the Bootstrap drop-down menu. Dropdown menus are toggleable and are context menus that display links in a list format. This can be achieved by interacting with the Dropdown JavaScript plugin.

How to set up bootstrap drop-down list

If you need to use the drop-down menu, you only need to add the drop-down menu in class .dropdown.(Recommended learning:Bootstrap video tutorial)

The following example demonstrates the basic drop-down menu:

Class
Description
.dropdown
Specify the drop-down menu, and the drop-down menu is wrapped in .dropdown
.dropdown-menu
Create drop-down menu
.dropdown-menu-right
Align the drop-down menu right
.dropdown-header
Add a header to the drop-down menu
.dropup
Specify the drop-down menu that pops up
.disabled
Disabled items in drop-down menu
.divider
Divider line in drop-down menu

For more technical articles related to Bootstrap, please visit theBootstrap Tutorialcolumn to learn!

The above is the detailed content of How to set up bootstrap drop-down list. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!