Viewport units for font sizes destroy zooming
- Published at
- Updated at
- Reading time
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!