CSS font-weight Property Explained

What the CSS font-weight property does, with an example.

Published November 6, 2026

The CSS font-weight property sets the boldness of text, from thin (100) to black (900), or keywords like normal/bold.

Key points

  • Check browser compatibility on a resource like caniuse.com if targeting older browsers

Example

font-weight: 600;
More CSS articles