How to set font weight
Example analysis:
The font-weight attribute is used to set the thickness of the text.
The following attribute values can be set:
Value | Description |
---|---|
normal | Default value, defines standard characters. |
bold | Define bold characters. |
bolder | Define bolder characters. |
lighter | Define finer characters. |
##○ 100○ 200○ 300○ 400○ 500○600○700○800○900 | Define characters from thick to thin. 400 is equivalent to normal, and 700 is equivalent to bold.
#