[英]Standard Viewport setting not working for Android/Chrome
我的元視口如下:
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=1" />
在Chrome下的Android手機上,我的網頁顯示未縮放。 它顯示的文字,圖片等很小。我的iPhone上可以顯示相同的頁面。
有沒有人有任何想法/建議?
嘗試這個:
<meta name="viewport" content="initial-scale=1, maximum-scale=1" />
https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag
查看視口的屬性https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/meta#Attributes
user-scalable = 1”-也應為“是”或“否”
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.