← Quiz: CSS Basics: all 10 questions
Quiz: CSS Basics · Question 5 of 10
Which unit is relative to the root font size?
Which unit is relative to the root font size?
- A.px
- B.em
- C.rem
- D.vh
Answer & explanation
Correct answer: rem
rem = root em; it scales with the user's base font size.
Can you get the rest right without peeking?
Take the timed Quiz: CSS Basics quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →