Design comparison
Solution retrospective
What are the best practice of using em's, rem's, px's, and other measurements?
Community feedback
- @palgrammingPosted over 3 years ago
This might help https://zellwk.com/blog/rem-vs-em/
also this video https://youtu.be/_-aDOAMmDHI
Marked as helpful0 - @AiojimaPosted over 3 years ago
I have been working with this since yesterday and got stuck with how to change the color of the image. I searched through the net but found solutions that did not work for me :< (self thought)
But anyway, Nice Job!
0@donchriscorleonePosted over 3 years ago@Aiojima
i did some research (stackoverflow and yt). many techniques and tricks will do the work but for me i added a parent div with a child div that contains the styling (color) and bg-image.
btw thanks!
0 - @atekronPosted over 3 years ago
it depends, for short - rem will respect font size settings of user browser, default 16px, em size is relative to parent a container, can be useful for some cases, and px is just a pixel, kind of constant size, generally I try to stick to rem, becase it's very predictable, in contrast to em
0@donchriscorleonePosted over 3 years ago@atekron
yep i tried all of it, pixel is not for responsiveness i guess. thanks btw
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