1 # font-family-no-missing-generic-family-keyword
3 Disallow missing generic families in lists of font family names.
6 a { font-family: Arial, sans-serif; }
8 * An example of generic family name */
11 This rule checks the `font` and `font-family` properties.
17 The following patterns are considered violations:
20 a { font-family: Helvetica, Arial, Verdana, Tahoma; }
24 a { font: 1em/1.3 Times; }
27 The following patterns are *not* considered violations:
30 a { font-family: Helvetica, Arial, Verdana, Tahoma, sans-serif; }
34 a { font: 1em/1.3 Times, serif; }
37 It's also *not* a violation to use a keyword related to property inheritance.
45 It's also *not* a violation to use a generic font family anywhere in the list. In other words, the generic font name doesn't need to be the last.
48 a { font-family: Helvetica Neue, sans-serif, Apple Color Emoji; }