CSS

CSS Intro

CSS Intro Quiz

CSS Intro Exercise

CSS Basic

CSS Basic Quiz

CSS Basic Exercise

CSS Advance

CSS Advance Quiz

CSS Advance Exercise

CSS3

CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

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.

Code Explanation

All Tutorials related to CSS Properties

All Sections related to CSS