|
Home HTML CSS JAVASCRIPT BOOTSTRAP Python Docker ML tutorial About us Privacy policy

Collapse in Bootstrap


Collapse in Bootstrap



The Bootstrap collapse is a plugin of javaScript used to hide content of our website.it mangae size accourding to our requirement. We can apply animation on the collapse by using CSS media quires.It is very easy to use.



  • .collapse , use to hide the content.
  • .collapsing, apply while transition on the page.
  • .collapsing, use to show the content.


  • Multiple targets.

    By using button or href in both cases we can show or hide multiple elements at a time by using jquery selectors inside href or data-target attribute. We can add indicators to the slides with controls.

    Accordion example

    We can cards as well inside collapsing and change the behaviour of collapsing as a accordion.We use .accordion to make collapsing behaviour as a accordion.