Bootstrap CSS Classes

Bootstrap CSS class .dropdown-divider

<div class="dropdown open">
  <button class="btn btn-secondary dropdown-toggle"
          type="button" id="dropdownMenu5" data-toggle="dropdown"
          aria-haspopup="true" aria-expanded="false">
    Dropdown
  </button>
  <div class="dropdown-menu">
    <a class="dropdown-item" href="#">Separated link</a>
    <div class="dropdown-divider"></div>
    <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?

CSS source

/* _dropdown.scss:104 */
.dropdown-divider {
  @include nav-divider($dropdown-divider-bg);
}

More Bootstrap CSS classes in Dropdowns category

© 2024 Shuffle. All rights reserved.