-
Please don’t do this. Using
vh
(orvmin
) infont-size
has bad side effects on most mobile browsers: nicolas-hoizey.com/2015/02/viewport-height-is-taller-than-the-visible-part-of-the-document-in-some-mobile-browsers.html#june-30th-update @Real_CSS_Tricks/949349742722650112 -
Much better: @fvsch/950644314643861504 On my blog, I use this:
body { font-size: calc(0.9em + 0.5vw); }