Responsive card statistics using Flexbox

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?
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Sorpanda
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 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