CSS: Font Weight
Here is different values for the CSS property font-weight
.
- font-weight:bold
- font-weight:normal
- font-weight:lighter
- font-weight:200
- font-weight:400
- font-weight:700
- font-weight:900
Values other than bold
or normal
may not have any effect. It requires a font family that supports light version.
font-weight:normal
-
Same as
font-weight:400
font-weight:bold
-
Same as
font-weight:700
font-weight:bolder
- 100 bolder than parent
font-weight:lighter
- 100 lighter than parent
font-weight:integer
- 400 = normal, 700 = bold
Thanks to Federico Totti, A1Den Liu for help.