Which CSS unit is relative to the font size of the root (html) element?
Correct answer
C. rem
14 views
C. rem
14 views
rem stands for 'root em'. 1rem equals the html element's font size, usually 16px, which keeps sizing consistent. em is relative to the parent's font size, vmin to the smaller viewport side, and ch to the width of the "0" character.
Asked in: NTS, Web Developer Interviews
Not sure why the answer is C? Ask here and get an explanation.