Design comparison
Solution retrospective
#Questions
- How do can we write font sizes that are more dynamic but consistent?
- How do we separate font sizes that are dynamic from other measurements like padding and margin?
Community feedback
- @pouripzPosted over 1 year ago
hi kevin ! you use font size 62.5% Very good ! but why you use px for font size ? use rem for font size is better for site ! have a good day & night !
0@hirwaNkevinPosted over 1 year ago@pouripz Thank you so much for replying. I used px because in the style-guide it said that body copy is in px. I would have used rem if it wasn't written in the style-guide.
But still why do we have to use 62.5%? I saw it in a crashcourse I watched recently.
Again thank you so much @pouripz
0@pouripzPosted over 1 year agowhen you add font size 62.5% on your html , your font size is 1rem=10px , so you can type 1.5rem for font size this is 15px but on my project my font size is 1.8rem = 18px Try to find the closest way to make your project similar to the project shown on the site
@hirwaNkevin
Marked as helpful1@hirwaNkevinPosted over 1 year agoWow! thank you @pouripz now it makes sense. I understand it better. I will start using rem units now and try to make my project similar to the one shown. thanks @pouripz.
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