CSS property: font-weight
Availability |
BlackBerry® Device Software version 3.8 or later |
Usage |
All elements |
Inherited |
Yes |
Default value |
normal |
The font-weight property specifies the thickness of the font.
Considerations
The BlackBerry® Browser renders font-weight values from 100 to 400 in a standard roman font, and values from 500 to 900 in a bold font.
Property values
Parameter |
Description |
|---|---|
100 200 300 400 500 600 700 800 900 |
These values specify the absolute weight value for the font, with 100 representing the lightest font weight and 900 the heaviest. |
bold |
This value specifies that the font weight is a standard bold font weight, equivalent to 700 on the numeric scale. |
bolder lighter |
These values are relative to the font weight of the parent element. Specifying bolder increases the font weight by one level on the numerical scale. If the font already had a weight equivalent to 900, it remains 900. Specifying lighter decreases the font weight by one level on the numerical scale. If the font already had a weight equivalent to 100, it remains 100. |
normal |
This value specifies that the font uses a standard roman font weight, equivalent to 400 on the numeric scale. |
inherit |
This value specifies that the element inherits the font-weight property value from the containing element. |