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

22 lines
584 B
Markdown

---
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.
```css
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](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)