Bootstrap CSS Classes

Bootstrap CSS class .dropup (split)

<br> <br> <br> <br>
<div class="btn-group dropup">
  <button type="button" class="btn btn-secondary">
    Split dropup
  </button>
  <button type="button" class="btn btn-secondary dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
    <span class="sr-only">Toggle Dropdown</span>
  </button>
  <div class="dropdown-menu">
    <a class="dropdown-item" href="#">Action</a>
    <a class="dropdown-item" href="#">Another action</a>
  </div>
</div>

Preview

Are you tired of writing HTML by hand?

More Bootstrap CSS classes in Dropdowns category

© 2024 Shuffle. All rights reserved.