在Bootstrap 2.3.2中缺少glyphicons [英] Missing glyphicons in Bootstrap 2.3.2

查看:76
本文介绍了在Bootstrap 2.3.2中缺少glyphicons的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从这里下载了图标,但无法在Boostrap 2.3中加载其中的一些图标0.2。我试图加载手机和聊天图标,但按钮是空的,没有图标。在浏览器控制台中没有错误。如何在Bootstrap 2.3.2中显示这些图标?

i downloaded glyphicons from here, but can't load some of these icons in Boostrap 2.3.2. I tried to load phone and chat icons, but buttons are empty without icons. In browser console are no errors. How can i show these icons in Bootstrap 2.3.2 please?

<a class="btn btn-small" href="#"><i class="icon-chat"></i></a>
<a class="btn btn-small" href="#"><i class="icon-phone"></i></a>


推荐答案

如果你有正确的css和png路径,它看起来像正确的用法是:

If you have the css and the png in the correct paths, it looks like the proper use is:

<a class="btn btn-small" href="#"><i class="icon-large icon-chat"></i></a>
<a class="btn btn-small" href="#"><i class="icon-large icon-phone"></i></a>

这篇关于在Bootstrap 2.3.2中缺少glyphicons的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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