Skip to Content


CSS Reference / font

font

A shorthand property for setting all of the font properties at the same place in the style sheet. The syntax of this property is based on a traditional typographical shorthand notation to set multiple properties related to fonts.

Values:

Examples:

  1. font: italic;
  2. font: italic small-caps;
  3. font: italic small-caps bold;
  4. font: italic small-caps bold 2em/3em;
  5. font: italic small-caps bolder 15px/20px verdana, sans-serif;

Browser support:

  • Internet Explorer 4+
  • Netscape 4+
  • Opera 3.5+

Related properties:

back to list



Search

Sponsors

Logo design for $149

Advertise here