<div class="dropdown open">
<button class="btn btn-secondary dropdown-toggle"
type="button" id="dropdownMenu4" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">
Dropdown
</button>
<div class="dropdown-menu">
<span class="dropdown-item-text">Dropdown item text</span>
<a class="dropdown-item" href="#">Action</a>
<a class="dropdown-item" href="#">Another action</a>
</div>
</div>
You don't need to remember all CSS classes. Just use the Bootstrap Editor instead.
/* _dropdown.scss:162 */
.dropdown-item-text {
display: block;
padding: $dropdown-item-padding-y $dropdown-item-padding-x;
color: $dropdown-link-color;
}
Code copied to the clipboard.
Copying failed
/* _dropdown.scss:162 */
$dropdown-item-padding-y
$dropdown-item-padding-x
$dropdown-link-color