Viewport units for font sizes destroy zooming (#tilPost)

This will be a very short one… (but I use these posts also to archive things for later reuse).
Today I came across an interessting tweet by Vadim Makeev. He shared that the CSS like font-size: 1vw will destroy the ability to use c…

This will be a very short one... (but I use these posts also to archive things for later reuse).

Today I came across an interessting tweet by Vadim Makeev. He shared that the CSS like font-size: 1vw will destroy the ability to use ctrl/cmd + to increase or decrease the font size of the website. He recommends using something like font-size: calc(1vw + 1em); instead.

Thanks Vadmin for sharing!


Reply to Stefan
Print Share Comment Cite Upload Translate
CITATION GOES HERE CITATION GOES HERE
Select a language: