浏览器中的Bootstrap响应式站点,不适用于iPhone

use*_*399 1 iphone mobile twitter-bootstrap

我已经基于Bootstrap框架创建了一个完全响应的网站.在浏览器中,所有响应功能都按照我的要求运行,但是,它似乎不适用于我的iPhone.我还在看一个完整的网站.

有没有人有这个问题或者会知道可能是什么原因?

cee*_*yoz 13

你几乎肯定忘记<meta name="viewport">了Bootstrap文档提到的标签.在你的<head>:

<meta name="viewport" content="width=device-width, initial-scale=1.0">
Run Code Online (Sandbox Code Playgroud)

编辑:现在您已经提供了URL,请查看此行中突出显示的语法:

<meta name="viewport' content="width-device-width, initial-scale=1.0"/>
Run Code Online (Sandbox Code Playgroud)

您已打开双引号并以单引号结束.