font-variant

The font-variant property specifies a small-caps variation of the font.

font-variant: normal | small-caps | inherit
Initial: normal
Applies To: all elements
Inherited: yes
Percentages: NA
Media: visual

Values

Δ

font-variant: value;
 
Value: Description:
inherit Takes the same computed value as the property for the element's parent
normal Not a small-caps font
small-caps Lower case letters look similar to the uppercase ones, but in a smaller size and with slightly different proportions

DOM

Δ

[window.]document.getElementById("element-id").style.fontVariant = "font-variant";

Example | Values | normal

Δ

Example | Values | small-caps

Δ

Example | DOM

Δ

References

Δ