CSS

33 lessons

Achievements
Combined Shape@2x

The Certificate

avatar

Font weight

Last but not least, developers can specify the weight or boldness of the font using the font-weight property.

It takes one of the following values: normal, bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900.

The numeric values indicate the thickness of the font. The higher the number, the bolder the font is. The standard syntax and code behavior are depicted below:

css font weight example