CSS Property: font-variant
[this page | pdf | back links]
The CSS (CSS1) font-variant property indicates
whether text should be in a small-caps font (in which all lowercase letters are
converted to slightly smaller uppercase letters).
Valid property values
(other than inherit
and initial) are:
|
Value
|
Description
|
|
normal
|
(default value). Normal
text
|
|
small-caps
|
Text is shown in a
small-caps font
|
|
Default Value:
|
normal
|
|
JavaScript syntax:
|
e.g. object.style.fontVariant="small-caps"
|
|
Inherited:
|
Yes
|
|
Animatable:
|
No
|
NAVIGATION LINKS
Contents | Prev | Next | CSS Properties