Design comparison
Solution retrospective
I explored the mystery of CSS line-height
yet again by reading the major difference between number and percentage-based values. Using this knowledge, I made the final output nearly identical to the shared design.
The only challenge was to space things just like the shared design without using pixel values. I prefer working with relative units more than absolute ones (like px), but having said that, the shared Figma file was really useful for gathering the spacing and sizing data.
What specific areas of your project would you like help with?I would like to know what people prefer working with more these days professionally: relative units like em and rem or absolute ones or a balanced blend of all that?
Community feedback
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