Ronalds Vilciņš

04Mab%!0rD

CSS font-variant property

The font-variant CSS shorthand property allows you to set all the font variants for a font.

p {
  font-variant: normal | small-caps | initial | inherit;
}

normal - It has a default value. It specifies a normal font-size.

small-caps - It is used to convert all the lowercase letter into a uppercase letters.

initial - It sets the property to its default value.

inherit - Inherits this property from its parent element.