Skip to Content


CSS Reference / font-variant

font-variant

The font-variant property is used to display text in a small-caps font, which means that all the lower case letters are converted to uppercase letters, but all the letters in the small-caps font have a smaller font-size compared to the rest of the text.

Values:

  • normal
  • small-caps

Examples:

  1. font-variant: small-caps;
  2. font-variant: normal;

Browser support:

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

Related properties:

back to list



Search

Sponsors

Logo design for $149

Advertise here