Bootstrap Collapse
New
data-target="#id"(same to div's id), use href in a
Collapse classes
.collapse for div
.collapse show for div
.collapsed card-link for a or button
The Exercise of Collapse
Hide/Show
Use button to control some content to show and hide.
Hide/Show
Use <a> to control some other content to show and hide.
Collapse 1
Collapse 1
Collapse 2
Collapse 2
Collapse 3
Collapse 3