Home » CSS Tutorial » CSS Properties » font-variant
font-variant
CSS Property Info :
| Syntax: |
font-variant: <value> |
| Possible Values: |
normal | small-caps
|
| Initial Value: |
normal |
| Applies to: |
All elements |
| Inherited: |
Yes |
CSS Browser Support :
Internet Explorer 4+
Netscape 6+
Opera 3.6+
W3C's CSS Level 1+
CSS Profile 1.0
CSS Property Description :
The font-variant property determines if the font is to display in normal or small-caps. Small-caps are displayed when all the letters of the word are in capitals with uppercase characters slightly larger than lowercase. Later versions of CSS may support additional variants such as condensed, expanded, small-caps numerals or other custom variants. An example of a font-variant assignment would be:
SPAN { font-variant: small-caps }
CSS Bugs / Problems :
none
Adapted by style-sheets.com, maker of Style Studio, powerful CSS Editor for Windows.
Copyright © John Pozadzides and Liam Quinn. All rights reserved.
Home » CSS Tutorial » CSS Properties » font-variant
|