Inspectopedia 2024.3 Help

Missing generic font family name

Verifies that the <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/font-family">font-family</a> property contains a generic font family name as a fallback alternative.

Generic font family names are: serif, sans-serif, cursive, fantasy, and monospace.

Locating this inspection

By ID

Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.

CssNoGenericFontName
Via Settings dialog

Path to the inspection settings via IntelliJ Platform IDE Settings dialog, when you need to adjust inspection settings directly from your IDE.

Settings or Preferences | Editor | Inspections | CSS | Probable bugs

Last modified: 03 December 2024