Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我基于 Bootstrap 框架创建了一个完全响应的网站。在浏览器中,所有响应功能都按照我的要求工作,但是,它似乎不适用于我的 iPhone。我仍然看到一个全尺寸的网站。
有没有人遇到过这个问题或知道可能是什么原因?
你几乎肯定忘记了<meta name="viewport">Bootstrap 文档提到的标签。在你的<head>:
<meta name="viewport">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
编辑:现在您已经提供了 URL,请查看此行上突出显示的语法:
<meta name="viewport' content="width-device-width, initial-scale=1.0"/>
你用双引号打开并用单引号关闭。