>> English << | česky | PortuguêsZVON > Tutorials > CSS2 tutorial
>> Example 31 << | Prev | Next | Index | Contents

The 'font-variant' property with value small-caps changes lowercase font to letters similar to uppercase but with smaller size.

XML SourceCSS stylesheetExample link
(1)
     <AAA>
          <NNN>This is normal TEXT.</NNN>
          <SSS>This TEXT is changed to small-caps.</SSS>
     </AAA>

NNN {font-variant:normal}
SSS {font-variant:small-caps}
View output