Answers for "dropdown button css bootstrap"

11

create a dropdown in html bootstrap

<div class="dropdown">
  <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenu2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
    Dropdown
  </button>
  <div class="dropdown-menu" aria-labelledby="dropdownMenu2">
    <button class="dropdown-item" type="button">Action</button>
    <button class="dropdown-item" type="button">Another action</button>
    <button class="dropdown-item" type="button">Something else here</button>
  </div>
</div>
Posted by: Guest on May-28-2020
1

scroll dropdown bootstrap

.scrollable-menu {
    height: auto;
    max-height: 200px;
    overflow-x: hidden;
}
Posted by: Guest on October-21-2020

Code answers related to "dropdown button css bootstrap"

Browse Popular Code Answers by Language