0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-19 16:54:24 +01:00

Add explanation about accordion wrapper.

This commit is contained in:
Florian Lacreuse 2018-09-25 09:36:38 +02:00 committed by XhmikosR
parent 252e538985
commit 46893e23a3

View File

@ -69,7 +69,7 @@ Multiple `<button>` or `<a>` can show and hide an element if they each reference
## Accordion example
Using the [card]({{ site.baseurl }}/docs/{{ site.docs_version }}/components/card/) component, you can extend the default collapse behavior to create an accordion.
Using the [card]({{ site.baseurl }}/docs/{{ site.docs_version }}/components/card/) component, you can extend the default collapse behavior to create an accordion. To properly achieve the accordion style, be sure to use `.accordion` as a wrapper.
{% capture example %}
<div class="accordion" id="accordionExample">