mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-05-28 04:43:59 +00: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…
Reference in a new issue