Name
font-variant
Values:
normal|small-caps
Example:
P:first-line { font-variant: small-caps }
Applies to:
All elements
Inherited:
Yes
Use the font-variant
property to specify that an
element display in small caps. If a true small caps font face is not
available, the browser may simulate true small caps by displaying all
caps at a reduced size. More values may be supported for this
property in future style sheet versions.
Get Web Design in a Nutshell 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.