the vw
unit is based on the width of the viewport.
1vw
is 1% of the browser viewport width. (vh
is the corresponding value for height)
This means if the viewport is 600px
wide then 10vw
is 60px
and that's how high your font will be
It also means that dimensions, including heights, can be set relative to the width of the screen, which is very useful for maintaining aspect ratios. This means your font size will respond to the size of the viewport, something which you can't do with a font any other way
It's not supported in all cases, so it's good to provide a pixel fallback, like this:
height: 100px; /* over-ridden if vw can be interpreted */
height: 10vw; /* ignored if not understood */