font-variant-caps

The font-variant-caps CSS property controls the use of alternate glyphs for capital letters.

Initial value normal
Applies to all elements. It also applies to ::first-letter and ::first-line.

Syntax

  
font-variant-caps: all-small-caps;
  

Values

Deactivates of the use of alternate glyphs.
Enables display of small capitals (OpenType feature: smcp). Small-caps glyphs typically use the form of uppercase letters but are reduced to the size of lowercase letters.
Enables display of small capitals for both upper and lowercase letters (OpenType features: c2sc, smcp).
Enables display of petite capitals (OpenType feature: pcap).
Enables display of petite capitals for both upper and lowercase letters (OpenType features: c2pc, pcap).
Enables display of mixture of small capitals for uppercase letters with normal lowercase letters (OpenType feature: unic).
Enables display of titling capitals (OpenType feature: titl). Uppercase letter glyphs are often designed for use with lowercase letters. When used in all uppercase titling sequences they can appear too strong. Titling capitals are designed specifically for this situation.

Browser support

font-variant-capschrome52edge79firefox34ieopera39safari

We use cookies to improve your experience. Learn more in our Privacy policy.

×