我无法在 IE10 或 FF 中显示引导字形图标。我正在使用最新的 bootstrap 3 代码,并以标准方式包含字形:
<span class="glyphicon glyphicon-edit"></span>
它们在 Chrome 中工作正常,但在 IE10 中它们不可见,并在控制台中生成错误:
CSS3111: @font-face encountered unknown error.
glyphicons-halflings-regular.eot
CSS3111: @font-face encountered unknown error.
glyphicons-halflings-regular.woff
CSS3111: @font-face encountered unknown error.
glyphicons-halflings-regular.ttf
有趣的是,他们在 IE10 中本地工作,但不能远程工作。
在 FF 中,它们显示“E034”图标,我认为这意味着未找到图像?
It works for ME in IE10. Do you have below files in your fonts directory
glyphicons-halflings-regular.eot
glyphicons-halflings-regular.svg
glyphicons-halflings-regular.ttf
glyphicons-halflings-regular.woff
我曾经在我的文章旁边显示时间图标。
<span class="glyphicon glyphicon-time"></span>
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)