<!-- Button group with nested dropdown --><divclass="btn-group"role="group"aria-label="Button group with nested dropdown"><buttontype="button"class="btn btn-primary">1</button><buttontype="button"class="btn btn-primary">2</button><divclass="btn-group"role="group"><buttontype="button"class="btn btn-primary dropdown-toggle"data-bs-toggle="dropdown"aria-haspopup="true"aria-expanded="false">
Dropdown
</button><divclass="dropdown-menu"><ahref="#"class="dropdown-item">Dropdown link</a><ahref="#"class="dropdown-item">Dropdown link</a><ahref="#"class="dropdown-item">Dropdown link</a></div></div></div><!-- Button group with nested dropdown --><divclass="btn-group"role="group"aria-label="Button group with nested dropdown"><buttontype="button"class="btn btn-outline-secondary">1</button><buttontype="button"class="btn btn-outline-secondary">2</button><divclass="btn-group"role="group"><buttontype="button"class="btn btn-outline-secondary dropdown-toggle"data-bs-toggle="dropdown"aria-haspopup="true"aria-expanded="false">
Dropdown
</button><divclass="dropdown-menu"><ahref="#"class="dropdown-item">Dropdown link</a><ahref="#"class="dropdown-item">Dropdown link</a><ahref="#"class="dropdown-item">Dropdown link</a></div></div></div>
// Button group with nested dropdown.btn-group(role="group",aria-label="Button group with nested dropdown")button(type="button").btn.btn-primary| 1
button(type="button").btn.btn-primary| 2
.btn-group(role='group')button(type="button",data-bs-toggle="dropdown",aria-haspopup="true",aria-expanded="false").btn.btn-primary.dropdown-toggleDropdown.dropdown-menua(href="#").dropdown-item| Dropdown link
a(href="#").dropdown-item| Dropdown link
a(href="#").dropdown-item| Dropdown link
// Button group with nested dropdown.btn-group(role="group",aria-label="Button group with nested dropdown")button(type="button").btn.btn-outline-secondary| 1
button(type="button").btn.btn-outline-secondary| 2
.btn-group(role='group')button(type="button",data-bs-toggle="dropdown",aria-haspopup="true",aria-expanded="false").btn.btn-outline-secondary.dropdown-toggle| Dropdown
.dropdown-menua(href="#").dropdown-item| Dropdown link
a(href="#").dropdown-item| Dropdown link
a(href="#").dropdown-item| Dropdown link