h1 span { font-size: 0.9167em; } h1 span { font-size: 2.2rem; } rem The rem unit is always relative to the root font-size, not that of its parent as em is.
= viewport height, vw = viewport width, vmin = either vh or vw, whichever is smaller. It’s a length measure that’s relative to the viewport, not the parent.