对于<i>标签,我希望英语字符显示为斜体,非英语字符显示为普通。
这是我的CSS。
@font-face {
font-family: MyCustomFont;
src: local(Kaiti);
}
@font-face {
font-family: MyCustomFont;
font-style:italic;
unicode-range: U+00-024F;
src: local(Arial);
}
i {
font-family: MyCustomFont;
font-style:normal;
}实际结果是

非英语字符使用的是凯蒂诺马克,这是正确的,但英语字符不是阿里尔斜体字。我错过什么了吗?
我在用Chrome 54.0。
https://stackoverflow.com/questions/40568216
复制相似问题