一些glyphicons显示,有些不是? Bootstrap 3 [英] some glyphicons showing, some not? Bootstrap 3

查看:104
本文介绍了一些glyphicons显示,有些不是? Bootstrap 3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含以下内容的页面:

 < p>这一个没有出现 - >> < span class =glyphicon glyphicon-bed>< / span>< / p> 

< p>但这个是 - >> < span class =glyphicon glyphicon-home>< / span>< / p>

在此网址:
http://1080422389.n303457.test.prositehosting.co.uk/property-detail.php?jbID=4



为什么会显示,而不显示另一个。男人我很困惑! :(
NJ

解决方案

答案是,它没有在Bootstrap CSS文件中声明。来自GitHub的 glyphicon字体和CSS声明的最新版本,至少这部分(但我会做所有事情,因为它有可能被重新映射):

  .glyphicon-bed:before {
content:\e219;
}

您的版本(3.2)在他们加床之前(3.3.2)。

I have a page with the following:

<p>This one isn't appearing ->> <span class="glyphicon glyphicon-bed"></span></p>

<p>But this one is ->>  <span class="glyphicon glyphicon-home"></span></p>

At this URL: http://1080422389.n303457.test.prositehosting.co.uk/property-detail.php?jbID=4

Why would one show but not the other. Man I'm so confused! :( NJ

解决方案

The answer is, it's not declared in your Bootstrap CSS file. You might want to grab the latest pull of the glyphicon font and CSS declarations from GitHub, at least this part (but I would do the whole thing as it's possible it had been remapped):

.glyphicon-bed:before {
  content: "\e219";
}

Your version (3.2) was before they added the bed (3.3.2).

这篇关于一些glyphicons显示,有些不是? Bootstrap 3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆