Bootstrap教程按钮式下拉菜单

单按钮下拉菜单

实例:

  1. <!-- Single button -->
  2. <div class="btn-group">
  3.   <button type="button" class="btn btn-Default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  4.     Action <span class="caret"></span>
  5.   </button>
  6.   <ul class="dropdown-menu">
  7.     <li><a href="#">Action</a></li>
  8.     <li><a href="#">Another action</a></li>
  9.     <li><a href="#">Something else here</a></li>
  10.     <li role="separator" class="divider"></li>
  11.     <li><a href="#">Separated link</a></li>
  12.   </ul>
  13. </div>

分裂式单按钮下拉菜单

实例:

  1. <!-- Single button -->
  2. <div class="btn-group">
  3.   <button type="