by hypertexthero · 2y ago · 0 comments
<meta name="viewport" content="width=device-width, initial-scale=1" />
I find it makes sites much more pleasant to browse.
I thought it just set the initial zoom with initial scale, but didn't prevent zooming in further? But I don't pinch zoom websites much, and maybe I haven't tested my own in a while... googling the usual sources are not clarifying to me the interaction of all these things according to standard.
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0">
Found this info here, and will try it out: https://stackoverflow.com/a/17891937Without requiring horizontal scrolling?
Still, I find it preferable to messing with font sizes as I hate reading on the phone and want to spend as little time as possible looking at the small screen, so I usually zoom in to what I want to see/read/click on, switching phone orientation if necessary for a 2nd option for the text size.
I could be wrong, or in a minority opinion group.