ecomfe / spec

This repository contains the specifications.
4.63k stars 1.61k forks source link

css编码规范中在Family Name 大小写必须统一一项下有小错误 #62

Open hlwa opened 4 years ago

hlwa commented 4 years ago

/good/示例中,大小写并未统一。

原文: [强制] font-family 不区分大小写,但在同一个项目中,同样的 Family Name 大小写必须统一。 示例:

/ good / body { font-family: Arial, sans-serif; }

h1 { font-family: Arial, "Microsoft YaHei", sans-serif; }

/ bad / body { font-family: arial, sans-serif; }

h1 { font-family: Arial, "Microsoft YaHei", sans-serif; }