Bootstrap glyphicon-menu-hamburger不显示 [英] Bootstrap glyphicon-menu-hamburger not showing
本文介绍了Bootstrap glyphicon-menu-hamburger不显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
以下是清单定义的汉堡菜单的引导图标: http://getbootstrap.com/components/# glyphicons-glyphs
Here is clearly defined bootstrap icon for hamburger menu: http://getbootstrap.com/components/#glyphicons-glyphs
如果我在我的html中使用它,这个图标不显示,但其他图标是:
If I use it in my html this icon is not showing, but others icon are:
<button class="btn btn-default" type="button">
<span class="glyphicon glyphicon-menu-hamburger" aria-hidden="true"></span>
</button>
为什么?
推荐答案
这是一个glyphicon版本的问题,在你的bootstrap版本,因为它将始终更新,因此使用相同的版本。您可以在此处 http://getbootstrap.com/getting-started/ 查看。
It's a matter of glyphicon version in your bootstrap version for it will be always updated so use the same version. you can check it here http://getbootstrap.com/getting-started/. it looks it is compatible in v3.3.2 and check yours.
其他可能性:
- 在字体目录中缺少字形字体。
- 目录路径中发生的更改
这篇关于Bootstrap glyphicon-menu-hamburger不显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文