twitter-bootstrap - Bootstrap 3.0.0 glyphicon-耳机未加载

标签 twitter-bootstrap twitter-bootstrap-3 glyphicons

我已经用最新的文件替换了 glyphicons-halflings-regular.woff/eot/svg/ttf 文件,但我仍然无法让 glyphicon-earphone 工作。我得到了一个底部开口的薄矩形。 glyphicon-phone-alt 也是如此,但其他大多数都能完美运行。

我试图在 Bootply.com 上重现该问题,但它在那里按预期工作。无论如何,这是链接和代码。

http://bootply.com/76942

<div class="row">
    <div class="col-sm-6">
        <div class="form-group">
            <label for="phone">Phone</label>
            <div class="input-group">
                <span class="input-group-addon"><i class="glyphicon glyphicon-earphone"></i></span>
                <input type="text" class="form-control" name="phone" id="contact_phone">
            </div>
        </div>
    </div>
    <div class="col-sm-6">
        <div class="form-group">
            <label for="cell">Cell</label>
            <div class="input-group">
                <span class="input-group-addon"><i class="glyphicon glyphicon-phone"></i></span>
                <input type="text" class="form-control" name="cell" id="contact_cell">
            </div>
        </div>
    </div>
</div>

这是 Bootstrap 3.0.0 中的错误吗?如果是这样 - 我猜想 Bootply 站点已经为 3.0.0 应用了“补丁/修复”?

最佳答案

我解决了。 Github 上的 glyphicon 文件比从 GetBootstrap.com 下载的文件更新。这样就解决了。

关于twitter-bootstrap - Bootstrap 3.0.0 glyphicon-耳机未加载,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18431588/

相关文章:

html - Bootstrap 卡/卡列破坏

jquery - 修复原来不在顶部的 2 行在向下滚动时粘在页面顶部

javascript - 内容安全策略阻止 CDN

RTL 的 Jquery 翻转类数据

.net - Glyphicons 在开发中显示良好,但在 IIS 中托管时显示不正常

javascript - 我如何通过单击网站 Logo 打开和关闭左侧导航栏

html - 如何在我的菜单上设置链接样式,而不更改网站其余部分的链接?

jquery - 编辑 Bootstrap 列时动画缓慢

html - 如何删除 btn-group 中的按钮分隔符?

javascript - 使用 bootstrap collapse 切换 glyphicon