CSS 2 Example 31

>> English << | česky | Português ZVON > Tutorials > CSS2 tutorial
Intro / Search / ZVON
>> 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

AltStyle によって変換されたページ (->オリジナル) /