Create responsive layouts quickly with Bootstrap grid, utilities, components, and theming.
Lessons
Combine buttons and dropdown menus.
Button Dropdowns is easiest to learn by reading the example, changing it, and observing the result.
<div class="dropdown">
<button class="btn btn-primary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
Actions
</button>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="#">Edit</a></li>
<li><a class="dropdown-item" href="#">Duplicate</a></li>
<li><hr class="dropdown-divider"></li>
<li><a class="dropdown-item text-danger" href="#">Delete</a></li>
</ul>
</div>Practice the Button Dropdowns example in a small scratch file, then explain what changed and why.