Hacker News new | past | comments | ask | show | jobs | submit login

    "<meta name="viewport" content="width=device-width">"
Which is just what I do. Disabling zoom is one of those nonsensical practices that spreads as web "developers" copy code from each other. I suppose there's a use case for it somewhere, but its main purpose is to remove choice and make sites harder to use.

EDIT: Actually I also include the initial-scale as in the comment below.




I have

    		<meta name="viewport" content="width=device-width, initial-scale=1.0">


Huh. I only have the initial-scale entry, and I think that my sites always show up with page width matching device width as a result. Is there something important that the extra width specification does that I'm missing?




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: