【问题标题】:Why wont identical code produce the same result in my browser as it does in Codeply?为什么相同的代码不会在我的浏览器中产生与在 Codeply 中相同的结果?
【发布时间】:2017-04-12 17:03:09
【问题描述】:

Codeply link

没有 Javascript 链接,并且某些类在给定的 CSS 中没有引用。我还有什么遗漏的吗?

对不起,如果这是一个不好的问题,我是业余爱好者。

【问题讨论】:

  • 确保包含 Bootstrap CSS、Bootstrap JS 和 jQuery。
  • 我有。我从本地主机打开它,这会导致问题吗?

标签: html css twitter-bootstrap responsive-design


【解决方案1】:

我忘记为浏览器窗口添加视口。

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-07-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多