Атрибут font-weight
font-weight Attribute
{ font-weight: normal| bold | bolder | lighter | 100 | 200 | 300 | 400 | 500
| 600 | 700 | 800 | 900}
Sets the weight (boldness) of the text.
IE currently only supports normal | bold.
This attribute is inherited.
Settings
If the value is a number, it is interpreted relative to the parent element's
weight. A value of '1' suggests two jumps in the table corresponding to the
keywords.
P { font-weight: medium }
B { font-weight: +1 } /* the '+' is optional */
In the example above, 'B' elements will be two table position "bolder" than
their parent. If they are children of an 'P' element, the resulting value is
'bold'. Non-integer font weights are allowed.
If the desired font weight is not available, the UA selects an approximation
strategy.