Mobile Firefox ignores Viewport completely

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-04 03:26:38

Set the viewport width to the width you want it to be for mobile:

 <meta name="viewport" content="width=640">

width=device-width forces the browser to have a 360px on Android, and 320px on iPhone.

Apparently if you set the width tag alone and set no other tags, it works.

I had a lot of work and the solution came after I inspected other sites that worked on firefox mobile. The solution was to increase the meta tag viewport:

This worked perfectly here.

<meta name = "viewport" content = "width = device-width, initial-scale = 1, minimum-scale = 1, maximum-scale = 1, user-scalable = no">
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!