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 content originally appeared on Stefan Judis Web Development and was authored by Stefan Judis

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


This content originally appeared on Stefan Judis Web Development and was authored by Stefan Judis


Print Share Comment Cite Upload Translate
APA
Stefan Judis | Sciencx (2022-12-06T17:48:32+00:00) » Viewport units for font sizes destroy zooming (#tilPost). Retrieved from https://www.scien.cx/2018/03/29/viewport-units-for-font-sizes-destroy-zooming-tilpost/.
MLA
" » Viewport units for font sizes destroy zooming (#tilPost)." Stefan Judis | Sciencx - Thursday March 29, 2018, https://www.scien.cx/2018/03/29/viewport-units-for-font-sizes-destroy-zooming-tilpost/
HARVARD
Stefan Judis | Sciencx Thursday March 29, 2018 » Viewport units for font sizes destroy zooming (#tilPost)., viewed 2022-12-06T17:48:32+00:00,<https://www.scien.cx/2018/03/29/viewport-units-for-font-sizes-destroy-zooming-tilpost/>
VANCOUVER
Stefan Judis | Sciencx - » Viewport units for font sizes destroy zooming (#tilPost). [Internet]. [Accessed 2022-12-06T17:48:32+00:00]. Available from: https://www.scien.cx/2018/03/29/viewport-units-for-font-sizes-destroy-zooming-tilpost/
CHICAGO
" » Viewport units for font sizes destroy zooming (#tilPost)." Stefan Judis | Sciencx - Accessed 2022-12-06T17:48:32+00:00. https://www.scien.cx/2018/03/29/viewport-units-for-font-sizes-destroy-zooming-tilpost/
IEEE
" » Viewport units for font sizes destroy zooming (#tilPost)." Stefan Judis | Sciencx [Online]. Available: https://www.scien.cx/2018/03/29/viewport-units-for-font-sizes-destroy-zooming-tilpost/. [Accessed: 2022-12-06T17:48:32+00:00]
rf:citation
» Viewport units for font sizes destroy zooming (#tilPost) | Stefan Judis | Sciencx | https://www.scien.cx/2018/03/29/viewport-units-for-font-sizes-destroy-zooming-tilpost/ | 2022-12-06T17:48:32+00:00
https://github.com/addpipe/simple-recorderjs-demo