mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Specify card component is necessary for accordion behavior (#21746)
- It is unclear that the use of the card component is necessary when extending the collapse behavior to behave like an accordion.
This commit is contained in:
parent
2a45ca5106
commit
8167682deb
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ You can use a link with the `href` attribute, or a button with the `data-target`
|
||||||
|
|
||||||
## Accordion example
|
## Accordion example
|
||||||
|
|
||||||
Extend the default collapse behavior to create an accordion.
|
Using the [card]({{ site.baseurl }}/components/card) component, you can extend the default collapse behavior to create an accordion.
|
||||||
|
|
||||||
{% example html %}
|
{% example html %}
|
||||||
<div id="accordion" role="tablist">
|
<div id="accordion" role="tablist">
|
||||||
|
|
Loading…
Add table
Reference in a new issue