For my website I would like to set the font size in cm
(centimeters), so that the font is readable independently of screen size and resolution, as long as display PPI (pixels per inch) setting is set correctly in the OS.
So I tried this in html:
<p style="font-size:1cm">Some text</p>
Apparently, neither on my PC, nor on mobile the font size is 1cm. On PC it's larger (too large to be readable). On mobile it's smaller (too small to be readable).
So the question is what's going on? Is this because PPI is not set correctly on both devices? Or is it because cm
font sizes just don't work in the web/browsers?