字体库加载成功但是却无法正常显示,本地开发环境可以正常显示很奇怪不知道是啥原因这是字体库文件的引用和加载代码@font-face { font-family: 'icomoon'; src: url('../fonts/icomoon.eot?q7r210'); src: url('../fonts/icomoon.eot?q7r210#iefix') format('embedded-opentype'), url('../fonts/icomoon.ttf?q7r210') format('truetype'), url('../fonts/icomoon.woff?q7r210') format('woff'), url('../fonts/icomoon.svg?q7r210#icomoon') format('svg'); font-weight: normal; font-style: normal;}[class^="icon-"], [class*=" icon-"] { /* use !important to prevent issues with browser extensions that change fonts */ font-family: 'icomoon' !important; speak: none; 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;}.icon-32:before { content: "\e900";}.icon-2444:before { content: "\e901";}
添加回答
举报
0/150
提交
取消