Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

bootstrap dropdown button

<body>

<div class="dropdown">
  <button class="btn btn-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
    Dropdown button
  </button>
  <ul class="dropdown-menu">
    <li><a class="dropdown-item" href="#">Action</a></li>
    <li><a class="dropdown-item" href="#">Another action</a></li>
    <li><a class="dropdown-item" href="#">Something else here</a></li>
  </ul>
</div>

<script src="bootstrap.bootstrap.bundle.js"></script>
</body>
Source by getbootstrap.com #
 
PREVIOUS NEXT
Tagged: #bootstrap #dropdown #button
ADD COMMENT
Topic
Name
9+6 =