CSS font-weight property
CSS font-weight property defines the weight of fonts with their darkness and stroke thickness.
There is a scale of font-weight i.e. 100 to 900. As the value increases from 100 to 900, the font weight shifts from light to bold.
font-weight : value | normal | bold | bolder | lighter
normal represents normal text. It is same as 400.
represents bold text. It is same as 600.
It represents bolder font-weight than the inherited value.
It represents lighter font weight than the inherited value.
400 value represents a light weight font.
600 value represents a bold weight font.
It applies to all elements
Was this article helpful?