codeGK
Code it ALL
BootStrap4 Collapse - CodeGK
♦ BootStrap4 Collapse

♣ About BootStrap4 Collapse

Collapse methods are used to hide/show the content.
Toggling can also be done with a single button for user-convenience.

♣ Example1: Collapse in BootStrap4

In this example, Basic Toggle collapsing method is illustrated.
Example
Input:
Output:

♣ Example2: Multi-Element Collapse in BootStrap4

Multiple elements can also be targetted through single button in BootStrap4.
In this example, Multi Element targetting is illustrated.
Example
Input:
Output:

♣ Example3: Accordion in BootStrap4

An Accordion allows to open one element content maximum at a time.
In this example, Accordion is illustrated.
Example
Input:
Output:
Prev_LessonNext_Lesson
BootStrap4 Collapse