CSS:font-variant
From MDC
[edit] Summary
The font-variant property selects a normal, or small-caps face from a font family.
- Initial value:
normal - Applies to: all elements
- Inherited: Yes
- Percentages: N/A
- Media:
visual - Computed value: specified value (except for initial and inherit)
[edit] Syntax
font-variant:[normal|small-caps] ;
[edit] Values
- normal
- Specifies a normal font face.
- small-caps
- Specifies a font that is labeled as a small-caps font. If a small-caps font is not available, Mozilla will simulate a small-caps font, i.e. by taking a normal font and replacing the lowercase letters by scaled uppercase characters.
[edit] Examples
View Live Examples (FIXME)
h1 { font-variant: small-caps }
p { font-variant: small-caps}
[edit] Notes
[edit] Specifications
[edit] Browser compatibility
[edit] See also
font,
font-family,
font-size,
font-size-adjust,
font-stretch,
font-style,
font-variant,
font-weight,
@font-face