Responsive card solution using Flexbox and CSS variables

Solution retrospective
I feel like my code is not very "clean" and optimized. What could I do better? I also had difficulties centering the card vertically (I´ve done it with margin, but must exist better ways)
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on anna'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