font-weight - CSS | font weight w3c
Thefont-weightCSS[1]propertysetstheweight(orboldness)ofthefont.Theweightsavailabledependonthefont-family[2]thatiscurrentlyset.font-weight:normal;font-weight:bold;font-weight:lighter;font-weight:bolder;font-weight:100;font-weight:200;font-weight:300;font-weight:400;font-weight:500;font-weight:600;font-weight:700;font-weight:800;font-weight:900;font-weight:inherit;font-weight:initial;font-weight:revert;font-weight:revert-layer;font-weight:unset;Thefont-weightpropertyisspecifiedusinganyoneofthe...
The font-weight CSS[1] property sets the weight (or boldness) of the font. The weights available depend on the font-family[2] that is currently set.
font-weight: normal; font-weight: bold; font-weight: lighter; font-weight: bolder; font-weight: 100; font-weight: 200; font-weight: 300; font-weight: 400; font-weight: 500; font-weight: 600; font-weight: 700; font-weight: 800; font-weight: 900; font-weight: inherit; font-weight: initial; font-weight: revert; font-weight: revert-layer; font-weight: unset;The font-weight property is specified using any one of the values listed below.
Values[3]normalNormal font weight. Same as 400.
boldBold font weight. Same as 700.
lighterOne relative font weight lighter than the parent element. Note that only four font weights are considered for relative weight calculation; see the Meaning of relative weights[4] section below.
bolderOne relative font weight heavier...