{"id":25458,"date":"2024-11-24T10:59:42","date_gmt":"2024-11-24T02:59:42","guid":{"rendered":"https:\/\/fwq.ai\/blog\/25458\/"},"modified":"2024-11-24T10:59:42","modified_gmt":"2024-11-24T02:59:42","slug":"%e4%b8%ba%e4%bb%80%e4%b9%88-initial-scale-%e5%9c%a8-chrome-%e7%9a%84-pc-%e7%ab%af%e4%b8%8d%e8%b5%b7%e4%bd%9c%e7%94%a8%ef%bc%9f-2","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/25458\/","title":{"rendered":"\u4e3a\u4ec0\u4e48 initial-scale \u5728 Chrome \u7684 PC \u7aef\u4e0d\u8d77\u4f5c\u7528\uff1f"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/001\/246\/273\/173061594414772.jpg\" class=\"aligncenter\" title=\"\u4e3a\u4ec0\u4e48 initial-scale \u5728 Chrome \u7684 PC \u7aef\u4e0d\u8d77\u4f5c\u7528\uff1f\u63d2\u56fe\" alt=\"\u4e3a\u4ec0\u4e48 initial-scale \u5728 Chrome \u7684 PC \u7aef\u4e0d\u8d77\u4f5c\u7528\uff1f\u63d2\u56fe\" \/><\/p>\n<p><strong>\u79fb\u52a8\u7aef\u7684\u7f29\u653e\u8bbe\u7f6e\uff1ainitial-scale<\/strong><\/p>\n<p>\u5728 HTML \u4e2d\uff0cviewport \u5143\u7d20\u7528\u4e8e\u63a7\u5236\u79fb\u52a8\u7aef\u8bbe\u5907\u4e0a\u7684\u9875\u9762\u5e03\u5c40\u548c\u7f29\u653e\u3002initial-scale \u5c5e\u6027\u662f viewport \u7684\u4e00\u4e2a\u91cd\u8981\u5c5e\u6027\uff0c\u5b83\u6307\u5b9a\u4e86\u9875\u9762\u5728\u8bbe\u5907\u4e0a\u7684\u521d\u59cb\u7f29\u653e\u7ea7\u522b\u3002<\/p>\n<p>\u5982\u9898\u6240\u8ff0\uff0cinitial-scale \u5c5e\u6027\u7684\u8bbe\u7f6e\u4f3c\u4e4e\u5728 Chrome \u7684 PC \u7aef\u4e0a\u4e0d\u8d77\u4f5c\u7528\u3002\u8fd9\u662f\u56e0\u4e3a\u5b83\u4e0d\u662f\u9488\u5bf9 PC \u7aef\u8bbe\u8ba1\u7684\u3002  \u5143\u6570\u636e\u4e3b\u8981\u7528\u4e8e\u5728\u79fb\u52a8\u8bbe\u5907\u4e0a\u8c03\u6574\u9875\u9762\u7684\u5bbd\u5ea6\uff0c\u5e76\u7f29\u653e\u4ee5\u9002\u5e94\u5c4f\u5e55\u5927\u5c0f\u3002<\/p>\n<p>\u6839\u636e W3C \u6587\u6863\uff0cviewport \u5143\u6570\u636e\u7528\u4e8e\u201c\u5728\u79fb\u52a8\u8bbe\u5907\u4e0a\u63d0\u4f9b\u4e00\u4e2a\u72ec\u7acb\u4e8e\u8bbe\u5907\u7684\u89c6\u56fe\u201d\u3002\u8fd9\u8868\u660e\u8be5\u5c5e\u6027\u4e13\u95e8\u9488\u5bf9\u79fb\u52a8\u8bbe\u5907\u8bbe\u8ba1\uff0c\u5728\u975e\u79fb\u52a8\u8bbe\u5907\u4e0a\u53ef\u80fd\u4e0d\u4f1a\u751f\u6548\u3002<\/p>\n<p>\u5728\u60a8\u63d0\u4f9b\u7684\u793a\u4f8b\u4ee3\u7801\u4e2d\uff0cinitial-scale \u5c5e\u6027\u8bbe\u7f6e\u4e3a 0.3\uff0c\u8fd9\u5c06\u5bfc\u81f4\u9875\u9762\u5728\u79fb\u52a8\u8bbe\u5907\u4e0a\u7f29\u5c0f\u5230\u5176\u539f\u59cb\u5927\u5c0f\u7684 30%\u3002\u800c\u5728 Chrome \u7684 PC \u7aef\u4e2d\uff0c\u7531\u4e8e viewport \u4e0d\u9002\u7528\u4e8e PC \u7aef\u8bbe\u5907\uff0c\u56e0\u6b64\u7f29\u653e\u4e0d\u4f1a\u751f\u6548\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u4e3a\u4ec0\u4e48 initial-scale \u5728 Chrome \u7684 PC \u7aef\u4e0d\u8d77\u4f5c\u7528\uff1f\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u79fb\u52a8\u7aef\u7684\u7f29\u653e\u8bbe\u7f6e\uff1ainitial-scale \u5728 HTML \u4e2d\uff0cviewport \u5143\u7d20\u7528\u4e8e\u63a7\u5236\u79fb\u52a8\u7aef\u8bbe\u5907\u4e0a\u7684\u9875\u9762\u5e03\u5c40\u548c\u7f29\u653e\u3002initial-scale \u5c5e\u6027\u662f viewport \u7684\u4e00\u4e2a\u91cd\u8981\u5c5e\u6027\uff0c\u5b83\u6307\u5b9a\u4e86\u9875\u9762\u5728\u8bbe\u5907\u4e0a\u7684\u521d\u59cb\u7f29\u653e\u7ea7\u522b\u3002 \u5982\u9898\u6240\u8ff0\uff0cinitial-scale \u5c5e\u6027\u7684\u8bbe\u7f6e\u4f3c\u4e4e\u5728 Chrome \u7684 PC \u7aef\u4e0a\u4e0d\u8d77\u4f5c\u7528\u3002\u8fd9\u662f\u56e0\u4e3a\u5b83\u4e0d\u662f\u9488\u5bf9 PC \u7aef\u8bbe\u8ba1\u7684\u3002 \u5143\u6570\u636e\u4e3b\u8981\u7528\u4e8e\u5728\u79fb\u52a8\u8bbe\u5907\u4e0a\u8c03\u6574\u9875\u9762\u7684\u5bbd\u5ea6\uff0c\u5e76\u7f29\u653e\u4ee5\u9002\u5e94\u5c4f\u5e55\u5927\u5c0f\u3002 \u6839\u636e W3C \u6587\u6863\uff0cviewport \u5143\u6570\u636e\u7528\u4e8e\u201c\u5728\u79fb\u52a8\u8bbe\u5907\u4e0a\u63d0\u4f9b\u4e00\u4e2a\u72ec\u7acb\u4e8e\u8bbe\u5907\u7684\u89c6\u56fe\u201d\u3002\u8fd9\u8868\u660e\u8be5\u5c5e\u6027\u4e13\u95e8\u9488\u5bf9\u79fb\u52a8\u8bbe\u5907\u8bbe\u8ba1\uff0c\u5728\u975e\u79fb\u52a8\u8bbe\u5907\u4e0a\u53ef\u80fd\u4e0d\u4f1a\u751f\u6548\u3002 \u5728\u60a8\u63d0\u4f9b\u7684\u793a\u4f8b\u4ee3\u7801\u4e2d\uff0cinitial-scale \u5c5e\u6027\u8bbe\u7f6e\u4e3a 0.3\uff0c\u8fd9\u5c06\u5bfc\u81f4\u9875\u9762\u5728\u79fb\u52a8\u8bbe\u5907\u4e0a\u7f29\u5c0f\u5230\u5176\u539f\u59cb\u5927\u5c0f\u7684 30%\u3002\u800c\u5728 Chrome \u7684 PC \u7aef\u4e2d\uff0c\u7531\u4e8e viewport \u4e0d\u9002\u7528\u4e8e PC \u7aef\u8bbe\u5907\uff0c\u56e0\u6b64\u7f29\u653e\u4e0d\u4f1a\u751f\u6548\u3002 \u4ee5\u4e0a\u5c31\u662f\u4e3a\u4ec0\u4e48 initial-scale \u5728 Chrome \u7684 PC \u7aef\u4e0d\u8d77\u4f5c\u7528\uff1f\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-25458","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/25458","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=25458"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/25458\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=25458"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=25458"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=25458"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}