EM
s are relative to their parent’s font size
REM
s are relative to a base font-size
This is important when intermediate containers change font sizes. Child elements with EMs will be affected, those using REMs will not.
EM
s are relative to their parent’s font size
REM
s are relative to a base font-size
This is important when intermediate containers change font sizes. Child elements with EMs will be affected, those using REMs will not.