@ font-face和font-variant不好的主意? [英] @font-face and font-variant bad idea?

查看:98
本文介绍了@ font-face和font-variant不好的主意?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我将@font-face字体和font-variant: small-caps用于相同的选择器,则该字体将回退到Safari中的下一个系统默认字体.我该如何解决?

if i use @font-face font and font-variant: small-caps for the same selector the font will fallback to the next system default font in safari. how do i get around that?

推荐答案

好吧,我认为这只是一个bug :(我现在使用:first-letter伪选择器来实现这一目标

Well i think its just a bug :( i now use :first-letter pseudo selector to achieve that

这篇关于@ font-face和font-variant不好的主意?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆