Android 初始规模 - PHP

发布于 2024-12-15 17:50:41 字数 209 浏览 3 评论 0原文

在 iPhone 中,有一些 php 脚本可以控制网站查看的初始比例和最大比例,如下所示:-

<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=3.0;">

是否有适用于 Android 的类似功能?多谢。

In iPhone, there are php scripts that control the initial scale and max scale of website viewing that are like these:-

<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=3.0;">

Would there be similar functions that work for android? Thanksalot.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

仅此而已 2024-12-22 17:50:42

您的问题的答案似乎已经存在。 此处

“您缺少秘密的新 Android 专用视口属性 'target-密度Dpi',您可以使用它来配置浏览器缩放。有关更多详细信息,请参阅链接的问题。”

It appears the answer to your question already exists. here

"You're missing the secret new Android-only viewport property 'target-densityDpi' which you can use to configure browser scaling. See the linked question for more details."

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文