Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IE8 error:CSS3111: @font-face #148

Open
LiangQingHao opened this issue Dec 15, 2021 · 2 comments
Open

IE8 error:CSS3111: @font-face #148

LiangQingHao opened this issue Dec 15, 2021 · 2 comments

Comments

@LiangQingHao
Copy link

error:
CSS3111: @font-face 遇到了未知错误。
image
image

CSS:
`
@font-face {
font-family: "iconfont";
src: url('iconfont.eot?t=1639564699070'); /* IE9*/
src: url('iconfont.eot?t=1639564699070#iefix') format('embedded-opentype'), /* IE6-IE8 /
url("iconfont.woff2?t=1639564699070") format("woff2"),
url("iconfont.woff?t=1639564699070") format("woff"),
url('iconfont.ttf?t=1639564699070') format('truetype'), /
chrome, firefox, opera, Safari, Android, iOS 4.2+/
url('iconfont.svg?t=1639564699070#iconfont') format('svg'); /
iOS 4.1- */
}

[class^="iconfont-"], [class*=" iconfont-"] {
font-family: 'iconfont' !important;
font-size:16px;
font-style:normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

.iconfont-adobe:before { content: "\ea01"; }
.iconfont-demo:before { content: "\ea02"; }
.iconfont-git:before { content: "\ea03"; }
.iconfont-left:before { content: "\ea04"; }
.iconfont-stylelint:before { content: "\ea05"; }

`

HTML:

<title>Document</title>
@LiangQingHao
Copy link
Author

image

@jaywcjlove
Copy link
Owner

@LiangQingHao 你可以尝试解决,如果找到解决方案欢迎在这里分享给大家,我已经不关注 ie 的问题了 :(

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants