Soraya• 230
@Sorpanda
Posted
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
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?
@Sorpanda
Posted
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..
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