The Collapse plugin is used to show and hide large amounts of content.
data-bs-toggle="collapse" to an <a> or a <button>.data-bs-target="#id" to connect it to the collapsible element..collapse class to the element you want to show/hide.Edit the code below and click Run to see the result live.