Name
font-family
Synopsis
This defines a font family to be used in the display of an element’s text. Note that use of a specific font family (e.g., Geneva) is wholly dependent on that family being available on a user’s machine; no font downloading is implied by this property. Therefore, the use of generic family names as a last fallback is strongly encouraged.
Values:
[[<family-name> | <generic-family>],]*
[<family-name> | <generic-family>] |
inherit
Initial value:
user agent-specific
Applies to:
all elements
Inherited:
yes
Computed value:
as specified
Get Cascading Style Sheets: The Definitive Guide, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.