FAQ Accordion with CSS animations

Solution retrospective
Im most proud of the accordion animation, it took awhile to figure out. Especially for the close state.
What challenges did you encounter, and how did you overcome them?I had an issue where the cards width would grow whenever the accordion was opened and shrink when it was closed again, and it looked kinda bad. Realized it was because I need to set an explicit width on the card to keep it from being altered by the size of its content.
What specific areas of your project would you like help with?Nothing comes to mind, but critiques are welcome.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Austin L Layman's solution.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord