Description & Usage

The font-weight property controls the stroke weight and visual emphasis of characters.

Values range from numeric weights 100 (Thin) to 900 (Black), with 400 representing Normal and 700 representing Bold.

Variable fonts allow smooth continuous weight values anywhere between 100 and 900.

Property Specifications

Property FeatureSpecification
CategoryTypography
Initial Valuenormal (400)
InheritedYes (inherited from parent)
Applies ToAll elements

Syntax

font-weight: normal | bold | 400 | 600 | 700 | 800;

Property Values

ValueDescription
400Normal regular weight.
600Semi-bold weight.
700Bold weight.

Code Examples

Bold Subheading
.subheading { font-weight: 700; }
Emphasizes section subheading.