@CITRGSubmitted almost 2 years ago
When should you use em over rem? Are there any better practices that I could incorporate into my CSS?
When should you use em over rem? Are there any better practices that I could incorporate into my CSS?
Honestly, your CSS looks great to me, as a bit of a novice, mind you. I did want to answer your question though. To keep it short, em is used for things you want to scale to the font-size of the parent element, and rem is when those elements don't need to care about the parent font-size.
Excellent job by the way!