BS Collapse
Basic Collapsible
Collapsibles are useful for hiding and displaying enormous amounts of content:
------list mukava -----
Example
Lorem ipsum dolor text....
Example Explained
The .collapse class denotes a collapsible element (a <div> in our example), which can be seen or hidden with a click of a button.
To toggle the collapsible content, add the data-toggle=”collapse” attribute to a <a> or <button> element. Add the data-target=”#id” attribute to link the button to the collapsible content (<div id=”demo”>).
For <a> elements, utilize the href attribute instead of the data-target attribute.
Example
Collapsible
Lorem ipsum dolor text....
By default, collapsible content is hidden. However, you can add the .in class to show the content by default.
Example
Lorem ipsum dolor text....
Collapsible Panel
------list mukava -----
The following example demonstrates a collapsible panel:
Example
Panel Body
Panel Footer
Collapsible List Group
------list mukava -----
The following image depicts a collapsible panel with a list group inside:
Example
- One
- Two
- Three
Footer
Accordion
------list mukava -----
The following example demonstrates a simple accordion created by extending the panel component.
Note: Use the data-parent attribute to ensure that all collapsible elements under the specified parent are closed when one of the collapsible items is displayed.
Example
Lorem ipsum dolor sit amet, consectetur adipisicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad
minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
commodo consequat.
Lorem ipsum dolor sit amet, consectetur adipisicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad
minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
commodo consequat.
Lorem ipsum dolor sit amet, consectetur adipisicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad
minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
commodo consequat.