CSS: Font Weight, Bold

By Xah Lee. Date: . Last updated: .

What is font weight

font-weight lets you control how bold to display the font.

Example

a {
 font-weight: bold;
}

Possible values

normal

Same as 400

bold

Same as 700

bolder

100 bolder than parent

lighter

100 lighter than parent

integer

400 is normal, 700 is bold

What your browser shows

Values other than bold or normal may not have any effect. It requires a font family that supports light version.


Thanks to Federico Totti, A1Den Liu for help.

CSS, Text Decoration

CSS Font