Correction status:Uncorrected
Teacher's comments:
<!doctype html> <html lang="zh-Hans"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> <link rel="stylesheet" href="../dist/css/bootstrap.css"> <script src="../dist/js/jquery.js"></script> <script src="../dist/js/bootstrap.js"></script> </head> <body> <div class="container"> <div class="row"> <div class="col-md-6"> <p>标准下拉菜单</p> <div class="dropdown"> <button type="button" class="btn btn-default" data-toggle="dropdown">更多 <span class="caret"></span> </button> <ul class="dropdown-menu"> <li><a href="">个人中心</a></li> <li><a href="">账户设置</a></li> <li><a href="">退出登录</a></li> </ul> </div> </div> <div class="col-md-6"> <p>分裂式下拉菜单</p> <div class="btn-group"> <button type="button" class="btn btn-info">前端开发</button> <div class="btn-group"> <button type="button" class="btn btn-primary">后端开发</button> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown"> <span class="caret"></span> </button> <ul class="dropdown-menu"> <li><a href="">Thinkphp</a></li> <li><a href="">Laravel</a></li> <li><a href="">Mysql</a></li> </ul> </div> </div> </div> </div> </div> </body> </html>
点击 "运行实例" 按钮查看在线实例