CSS property: font
The font property is a shorthand property used to set one or more font properties. Properties can be listed in any order.
Values
Value |
Description |
|---|---|
[font-family] [font-size] [font-style] [font-weight] |
This value is a whitespace-separated list of values for the font-family, font-size, font-style, and font-weight properties. You can set from one to four values. Properties can be listed in any order. See the descriptions of the individual properties for more information about valid values. |
Parent topic: CSS Properties