开发者社区> 问答> 正文

CSS里font-family 属性的值区分大小写字母吗

Microsoft Yahei 和 Microsoft YaHei 看起来好像是一样的

展开
收起
a123456678 2016-05-27 11:04:13 2010 0
1 条回答
写回答
取消 提交回答
  • 首先CSS2.1 font这一章没有提及font-family的大小写问题,只提到它的值要么作为标志符出现、要么作为string出现。

    Font family names must either be given quoted as strings, or unquoted as a sequence of one or more identifiers. This means most punctuation characters and digits at the start of each token must be escaped in unquoted font family names.
    在CSS2.1里定义的字体匹配算法里也没有提到。

    2019-07-17 19:17:23
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
零基础CSS入门教程 立即下载
低代码开发师(初级)实战教程 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载