Design comparison
Solution retrospective
Would appreciate any feedback. Thank you.
Community feedback
- @afrusselPosted over 3 years ago
Nice work 👏 good output in mobile view too. Just one suggestion. For font-size try to use rem instead of px
Marked as helpful1@Nazaf64Posted over 3 years ago@afrussel Thank you so much for the feedback. Really appreciate it.
I've actually been using the universal selector to declare the same font size for every element (say, 16px in this case) as given in the 'style-guide.md' sheet. Now, that all the elements have the same font size (16px), it also means 1em = 16px for every element (from what I understand). If I want a different font size, I simply changed the 'em' value in the targeted element to get the desired font size (because 1em is same everywhere now) - this was how I did the calculation.
I haven't used rem yet but I'll definitely take a look into it and give it a try. Thanks for the heads up.
0 - Account deleted
looks amazing bruv. Spot on!!!!
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