Name

Description

Values

Default

font-family

Defines the font family for the text.

List of font family names or generic family names such as serif, sans-serif, cursive, fantasy, monospace

Depends on the user's browser and operating system. Usually, it is a serif or sans-serif font family.

font-size

Sets the size of the font.

Length units such as px, em, rem, pt, %.

16px.

font-style

Sets the font style for the text.

normal, italic, oblique.

normal.

font-weight

Sets the weight (boldness) of the font.

normal, bold, bolder, lighter, 100-900 (multiple of 100).

normal.

font-variant

Sets the font variant for the text.

normal, small-caps.

normal.

font-stretch

Sets the font stretch for the text.

normal, condensed, ultra-condensed, extra-condensed, semi-condensed, expanded, semi-expanded, extra-expanded, ultra-expanded.

normal.

line-height

Sets the line height for the text.

Length units, number, or percentage.

normal (depends on the user agent).

letter-spacing

Sets the spacing between characters.

Length units.

normal.

word-spacing

Sets the spacing between words.

Length units.

normal.

text-transform

Sets the capitalization of the text.

none, capitalize, uppercase, lowercase.

none.

text-decoration

Sets the decoration of the text.

none, underline, overline, line-through, blink.

none.

text-shadow

Sets the shadow for the text.

Length units and color.

none.

Created with the Personal Edition of HelpNDoc: Maximize Your Reach: Convert Your Word Document to an ePub or Kindle eBook