Syntax
font-weight: value;
Example
font-weight: 700;
Common use cases
- Bold headings
- Emphasizing key text
- Variable font weight control
Practical developer insight
Not all fonts support all weight values — if font-weight: 500 looks the same as 400, your font probably only has regular and bold variants loaded.