这是明确定义的汉堡菜单引导图标:http://getbootstrap.com/components/#glyphicons-glyphs http://getbootstrap.com/components/#glyphicons-glyphs
如果我在 html 中使用它,则不会显示此图标,但其他图标是:
<button class="btn btn-default" type="button">
<span class="glyphicon glyphicon-menu-hamburger" aria-hidden="true"></span>
</button>
这是为什么?
这是引导程序版本中字形版本的问题,因为它将始终更新,因此请使用相同的版本。你可以在这里查看http://getbootstrap.com/getting-started/ http://getbootstrap.com/getting-started/。看起来它与 v3.3.2 兼容并检查你的。
其他可能性:
- 字体目录 c 中缺少 glyphicons 字体。
- 在目录路径中发现更改
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)