问题描述
我的所有图标都正常,但有一个图标无法为我的 ::before
或 span
或 i
创建 div
。
这是我的图标未显示:
这是我正确的图标并为::before
创建i
:
@font-face {
font-family: 'icomoon';
src: url('fonts/icomoon.eot?2b1f8l');
src: url('fonts/icomoon.eot?2b1f8l#iefix') format('embedded-opentype'),url('fonts/icomoon.ttf?2b1f8l') format('truetype'),url('fonts/icomoon.woff?2b1f8l') format('woff'),url('fonts/icomoon.svg?2b1f8l#icomoon') format('svg');
font-weight: normal;
font-style: normal;
font-display: block;
}
[class^="icon-"],[class*=" icon-"] {
/* use !important to prevent issues with browser extensions that change fonts */
font-family: 'icomoon' !important;
speak: never;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)