CSS · Properties — CSS Fonts

font-variant-caps

The CSS font-variant-caps property. Initial value: normal. Inherited.

Syntax
font-variant-caps: normal | small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps

Example

Try it

Notes

Media: visual. Applies to: allElementsAndText. Computed value: asSpecified.

More in this group

font font-feature-settings font-kerning font-language-override font-optical-sizing font-palette font-size-adjust font-synthesis

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course