The collapse JavaScript plugin is used to show and hide content.
Usage
The collapse plugin utilizes a few classes to handle the heavy lifting:-
- .collapse hides the content.
- .collapse.show shows the content.
- .collapsing is added when the transition starts, and removed when it finishes.