CSS · Typography

font-weight

Thickness of the type: 100–900 or normal/bold. Only use weights the font actually includes.

Syntax
font-weight: 600

Example

Try it

More in this group

font-family font-size font-style font-variant-numeric letter-spacing line-height list-style overflow-wrap

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course