Layout Options

  • Fixed Header
    Makes the header top fixed, always visible!
  • Fixed Sidebar
    Makes the sidebar left fixed, always visible!
Font Varient

Property Description

The font-variant property sets whether or not to display text in a small-caps font.

This property has the following syntax:

font-style: normal|small-caps|initial|inherit;

Property Values

Value Description
normal (default) Browser displays a normal font
small-caps Browser displays a small-caps font
initial Specifies that the value of the property should be set to the default value
inherit Specifies that the value of the property should be inherited from the parent element

Examples

This example sets a paragraph to a small-caps font.

p.small {
  font-variant:small-caps;
}

This example shows the results of setting the various font-variant values:

font-variant:normal

font-variant:small-caps

Browser Support

Chrome Firefox IE Safari Opera
1.0 1.0 4.0 1.0 3.5

Miscellaneous Information

Inherited: Yes
Defined In: CSS1
Default Value: normal