Name

font-variant

Werte:

small-caps | normal

Anfangswert:

normal

Anwendbar auf:

Alle Elemente

Vererbt:

Ja

Berechneter Wert:

Entspricht dem deklarierten Wert

Beschreibung:

Definiert, ob Text in Kapitälchen gesetzt wird. Es ist theoretisch möglich, dass ein User Agent einen Kapitälchen-Schriftschnitt aus dem normalen Schnitt berechnet.

Beispiele:

h3 {font-variant: small-caps;}
p {font-variant: normal;}

Get CSS kurz & gut, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.