Design comparison
SolutionDesign
Solution retrospective
Is this a good solution for a color overlay effect on the image? When would it be good to use em or rem over one another?
Community feedback
- @SorpandaPosted over 1 year ago
Kevin Powell explains this very well.
https://www.youtube.com/watch?v=_-aDOAMmDHI&t=3s&ab_channel=KevinPowell
em changes sizes in relation to the parent element while rem looks at the root..
1
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