|
|
|
|
|
by marcosdumay
823 days ago
|
|
> Which, I never understood why this is necessary in the first place (I'm not an experienced web dev). It's because the first phone browsers had an insane default, and the standards body decided the insanity should be kept for backwards compatibility. Having a viewport meta turns the insanity off, but only if you set the content area. |
|
Mobile browsers do the shrinking by messing with viewport defaults, so we fix it by re-applying those defaults.
I think the MDN doc's only mistake was describing "device-width" as "100% viewport width", since that seems like circular logic.