HTML Dog
Skip to navigation

CSS Property: font-weight

Bold or light text.

font-weight, font-style, font-variant, and text-transform.

Possible Values

ValueDescription
normalStandard weight. Equivalent of 400.
boldBold weight. Equivalent of 700.
bolderBolder than the inherited font weight.
lighterLighter than the inherited font weight.
100Lightest.
200Bolder than 100, lighter than 300.
300Bolder than 200, lighter than 400.
400Bolder than 300, lighter than 500. Equivalent of normal.
500Bolder than 400, lighter than 600.
600Bolder than 500, lighter than 700.
700Bolder than 600, lighter than 800. Equivalent of bold.
800Bolder than 700, lighter than 900.
900Boldest.
inherit
initial
unset

Example


.chubbybaby { font-weight: bold; }