elibraryportal Logo

1) Bootstrap Collapse

Collapse means you can hide and show your content.

To use the .collapse class button content that will be shown or hidden with a click of a button. and add the data-toggle="collapse" attribute to an <a> or a <button> element. then add the data-target="#id" attribute to connect the button with the collapsible content (<div id="demo">

Example:-

Test it Now

2) Bootstrap Accordion

Example:-

Test it Now
Next Topic