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

The font-size property can be also given in absolute and relative units.

XML SourceCSS stylesheetExample link
(1)
     <AAA>
          <BBB>bbb</BBB>
          <CCC>ccc</CCC>
          <DDD>ddd</DDD>
          <EEE>eee</EEE>
          <FFF>fff</FFF>
     </AAA>

BBB {font-size:normal}
CCC {font-size:150%}
DDD {font-size:50%}
EEE {font-size:2em}
FFF {font-size:24pt}
View output