🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.px
  2. B.em
  3. C.rem
  4. 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 →