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

The font-size property can have relative values larger and smaller.These values are interpreted relative to the table of font sizes and the font size of the parent element.

XML SourceCSS stylesheetExample link

x-large {font-size: x-large}
x-small {font-size: x-small}
larger {font-size:larger}
smaller {font-size:smaller}
View output