Design comparison
SolutionDesign
Solution retrospective
Had some trouble figuring out the spacing between the 'Annual Price', the music icon and change button
Community feedback
- @correlucasPosted about 2 years ago
๐พHello Neil Kanakia, congratulations for your new solution!
Answering your question:
You can align it using
align-item: center
andjustify-item: center
and to have the alignment more to the left you can usediv a {transform: translateX(8px);
}} .plan { display: flex; align-items: center; justify-content: center; }
โ๏ธ I hope this helps you and happy coding!
Marked as helpful0
Please log in to post a comment
Log in with GitHubJoin 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