Design comparison
SolutionDesign
Community feedback
- @brane10Posted 7 months ago
Hey, a little observation. Your items are not vertically aligned very well, maybe you should use a tag instead of div? It is also not necessary to define the height, it was easier for you to just put the padding up and down and you would create the necessary height and then it would be nicely centered. For example, here's how I did it: .container a { color: var(--neutral-white); background-color: var(--neutral-grey); padding: 15px 0; border-radius: 10px; text-decoration: none; width: 30 rem; text-align: center; } All the best and keep going :)
0
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