Hello, I found this semi-solution to animating <details> and was wondering of the drawbacks

I found this blog https://dev.to/neophen/css-only-accordion-with-animations-2d8n, and modified the tailwindplay https://play.tailwindcss.com/vjMq6sgS7C My biggest concern is in regards to the content not existing within the <details> as a child. Is that a major problem? Is this a decent solution for a client site? Thank you for any insights!
Tailwind Play
Tailwind Play
An advanced online playground for Tailwind CSS that lets you use all of Tailwind's build-time features directly in the browser.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server