Quackit Logo

Got a MySpace Page?

Get "www.yourname.com" for your MySpace page. Learn how >>.

CSS font-variant

Print Version

Also see the full, alphabetical list of CSS properties


The CSS font-variant property is used for displaying the font in small caps.

Tip: Use CSS font to set the most common font properties in one go.

Syntax: font-variant: <value>
Possible Values:
  • normal
  • small-caps
  • inherit
Initial Value: normal
Applies to: All elements
Inherited: Yes
Media: Visual
Example: p {font-variant: small-caps}
Try it yourself! HTML Editor


Also see all CSS properties listed alphabetically


Enjoy this website?

  1. Link to this page (copy/paste into your own website or blog):
  2. Add this page to your favorite social bookmarks sites:
                     
  3. Add this page to your Favorites

Oh, and thank you for supporting Quackit!