Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accordion Example: ID and class duplicated in v. 4.1 #26389

Closed
AlessandroVecchi opened this issue Apr 26, 2018 · 6 comments
Closed

Accordion Example: ID and class duplicated in v. 4.1 #26389

AlessandroVecchi opened this issue Apr 26, 2018 · 6 comments

Comments

@AlessandroVecchi
Copy link

4.0
https://getbootstrap.com/docs/4.0/components/collapse/#accordion-example
<div id="accordion">

4.1
https://getbootstrap.com/docs/4.1/components/collapse/#accordion-example
<div class="accordion" id="accordion">

why?

@Johann-S
Copy link
Member

a bit weird yes, because we don't have .accordion in our CSS 🤔

@patrickhlauke
Copy link
Member

c0246e9

@AlessandroVecchi
Copy link
Author

I think it would be better:
<div class="accordion" id="accordionExample">

@Johann-S
Copy link
Member

Closed thanks to @patrickhlauke 👍

@patrickhlauke
Copy link
Member

yeah the id could be tweaked for clarity

@patrickhlauke
Copy link
Member

#26391

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants