CSS relative units

Report a typo

Match the CSS unit to its correct description:

Match the items from left and right columns
em
%
vh
rem
Relative to the root element's font-size
Relative to the font size of the parent element.
Relative to the viewport's height.
A percentage of the parent element's width or height.

Create a free account to access the full topic