CSS font variant caps Property
CSS font-variant-caps Property
The font-variant-caps property is used to control the usage of alternate glyphs for capital letters.
Default Value:-
Its default value is normal.
Syntax:-
Its syntax is:- font-variant-caps: normal | small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps | initial | inherit | unset;
Further Explanation:-
Value | Description |
---|---|
normal | Deactivates the use of alternate glyphs |
small-caps | Displays small capitals |
all-small-caps | Displays small capitals for both upper and lowercase letters |
petite-caps | Displays petite capitals |
all-petite-caps | Displays petite capitals for both upper and lowercase letters |
unicase | Displays a mix of small capitals for uppercase letters with normal lowercase letters |
titling-caps | Displays titling capitals. |
initial | Sets this property to its default value. |
inherit | Inherits this property from its parent element. |