Collapse
Basic collapse
Click the buttons below to show and hide another element via class changes.
Horizontal
The collapse plugin supports horizontal collapsing.
Multiple toggles and targets
A <button> or
<a> element can show
and hide multiple elements by
referencing them with a selector in its
data-bs-target or
href attribute. Conversely,
multiple <button> or
<a> elements can show
and hide the same element if they each
reference it with their
data-bs-target or
href attribute.