CSS Tutorial

CSS Style

CSS Layout Style

CSS Float Style

CSS Reference

CSS font-variant property




The CSS font-variant property use to set a display font style in small caps.


Property Values


Properties Value Description
Syntax font-variant:value;
value   normal
  small-caps
  inherit
Allow to All elements
Inherited Yes

Example-Code:

<p style="font-variant:small-caps">Example is Font-Variant Style</p>
Online Try This Code Your Self....   »

Example-Result:

Example is Font-Variant Style