简体   繁体   中英

Embed fonts in css

I am trying to use custom fonts in the css file, the code seems to be correct, but the fonts do not display correctly

@font-face {
 font-family: K 10;
 font-style:  normal;
 font-weight: normal;
 src: url(Kcustom.eot);
}

名称中包含空格或特殊字符的字体必须用单引号或双引号括起来。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM