3 ms·
You can add an html meta tag that would solve the mobile issues you're describing, without CSS. <meta name="viewport" content="width=device-width, initial-
by leeoniya 10y ago
You can add an html meta tag that would solve the mobile issues you're describing, without CSS.
<meta name="viewport" content="width=device-width, initial-scale=1">
- LeoPanthera 10y agoIf you set initial-scale=1, isn't width=device-width redundant?
- leeoniya 10y agoit's probably there cause some early implementation somewhere tried to be "smart" if you weren't explicit. too lazy to give you definitive answer, but: [1] https://www.w3.org/TR/css-device-adapt-1/ https://www.w3.org/TR/css-device-adapt-1/ [2] https://benfrain.com/understanding-the-viewport-meta-tag-and-css-viewport/ https://benfrain.com/understanding-the-viewport-meta-tag-and...