freeCodeCamp/guide/english/css/properties/font-weight-property/index.md

584 B

title
Font Weight Property

Font Weight Property

Font weight can be set higher or lower using the font-weight property. The values available for font-weight are normal, bold, lighter, bolder, and a numeric value.

  font-weight: lighter;
  font-weight: bolder;
  font-weight: bold;
  font-weight: light;
  font-weight: 100;
  font-weight: 900;

The bolder and bold values increase the weight of the font and light and lighter decrease weight.

More Information

MDN Documentation