按钮下拉菜单

bootstrap3

泄露秘密 提交于 2020-02-29 11:30:28
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>按钮下拉菜单</title> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1"/> <link href="http://cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet"> </head> <body> <div class="btn-group"> <button class="btn btn-default dropdown-toggle" data-toggle="dropdown" type="button">按钮下拉菜单<span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">按钮下拉菜单项</a></li> <li><a href="#">按钮下拉菜单项</a></li> <li><a href="#">按钮下拉菜单项</a></li> <li><a href="#">按钮下拉菜单项</a></li> </ul> </div> </div>