点击运行
Bootstrap 实例
下拉菜单
.active 类会让下拉菜单的选项高亮显示 (添加蓝色背景)。
如果要禁用下拉菜单的选项,可以使用.disabled 类。
Dropdown button
Normal
Active
Disabled
运行结果