font

properties for font, such as family, size, and style

Example

1

Description

properties for font, such as family, size, and style

This is a shortcut property for setting multiple font attributes with one statement. The font-size and font-family values are required. The rest will assume default values if omitted.

Values

Value Description
Values
font-style font-variant font-weight font-size line-height font-family
captionuse the browser's font choice for captioned controls, such as buttons
iconuse the browser's font choice for icon labels
menuuse the browser's font choice for menu items
message-boxuse the browser's font choice for dialog boxes
small-captionuse a smaller version of the caption font
status-baruse the browser's font choice for the status bar
-webkit-control
-webkit-mini-control
-webkit-small-control