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 does not even need css trickery: <details> <summary> tags #76

Open
pke opened this issue Nov 10, 2019 · 2 comments
Open

Accordion does not even need css trickery: <details> <summary> tags #76

pke opened this issue Nov 10, 2019 · 2 comments

Comments

@pke
Copy link

pke commented Nov 10, 2019

The HTML <details> and <summary> tags will do just fine.

FAQ Example (can even be nested)

What is 42

The answer.

Where do we come from

There is no answer to that.

@pke pke changed the title Accordion does not even need css tricker: <detail> <summary> tags Accordion does not even need css tricker: <details> <summary> tags Nov 10, 2019
@pke pke changed the title Accordion does not even need css tricker: <details> <summary> tags Accordion does not even need css trickery: <details> <summary> tags Nov 10, 2019
@cawa-93
Copy link

cawa-93 commented Aug 26, 2021

An accordion requires only one element to be open. That is, the current open tag must close if you open another.

But I would add another separate example with details because very few people really know about this tag.

@geomydas
Copy link

3 years, and still not added

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

No branches or pull requests

3 participants