在 Firefox 中使用来自 bootstrap 3.3.5 的字形图标有一些问题
Having some problems with glyphicons from bootstrap 3.3.5 in Firefox
我找不到问题的答案。 Glyphicons 在 Firefox 中仍然不起作用。仅限 Firefox。
例如我所做的:<li class="active"><a href="#"><span class="glyphicon glyphicon-search"></span> Home</a></li>
在我的 .css 文件中:
@font-face {
font-family: 'Glyphicons Halflings';
src: url('../fonts/glyphicons-halflings-regular.eot');
src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}
我找不到问题的答案。 Glyphicons 在 Firefox 中仍然不起作用。仅限 Firefox。
例如我所做的:<li class="active"><a href="#"><span class="glyphicon glyphicon-search"></span> Home</a></li>
在我的 .css 文件中:
@font-face { font-family: 'Glyphicons Halflings';src: url('../fonts/glyphicons-halflings-regular.eot'); src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg'); }