{{#> layouts/ajax title="Collapse" pagename="ui_collapse" heading=" Collapse" category_1="UI Components" pagedescription="Toggle the visibility of content across your project with a few classes." }} {{#*inline "head-block"}} {{/inline}} {{#*inline "content-block"}}
.collapse hides content.collapsing is applied during transitions.collapse.show shows contentdata-target attribute. In both cases, the data-toggle="collapse" is required.
<button> or <a> can show and hide multiple elements by referencing them with a JQuery selector in its href or data-target attribute.
Multiple <button> or <a> can show and hide an element if they each reference it with their href or data-target attribute
.collapse state using the classes .collapsed-reveal and .collapsed-hidden
.collapsed-* classes are inside the data-toggle="collapse" element or adjacent to it