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:
parent
252e538985
commit
46893e23a3
@ -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">
|
||||
|
Loading…
x
Reference in New Issue
Block a user