Design comparison
Solution retrospective
I don't really understand where should I use what units (%, rem, em, px ...)
Community feedback
- @SteentoonsPosted over 3 years ago
Hi Grojd
I think you did quite a nice job there, some small tweaks on the inner space, but overall, I think you followed the original design. Keep it up...
Personally, I like to use % when working with responsive widths. It does some math relative to the parent. I normally use em when working with margins and paddings. I use rems mostly on font sizes, so that when the user changes font size on their browser, your website will adjust accordingly. I rarely use px, I usually converts them to ems. But that is my opinion, you can look more into them and find what woks best for you.
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