mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-11 18:02:28 +03: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:
@@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user