CSS font-weight property
Usage
Sets the font weight
Values
- normal
- bold
- bolder
- lighter
- 100, 200, 300, 400, 500, 600, 700, 800, 900 - varying character thicknesses, with 400 being equal to normal and 700 being equal to bold
Example
Code:
p {
font-weight: bolder;
}
p {
font-weight: 700;
}