Hello, I know that we would use rem when we don't want the "spacing" to be affected by font-size, we want it to always be fix to font-size of root element. But I wanted to know some use cases where rem would be more appropriate than em or vice-versa.
For example, in my side project, I'm just using rem, not really thinking of whether em would be more appropriate in a particular scenario.
Would really appreciate if someone can just share their experiences with these 2 units pls.