CSS: Font Weight, Bold
What is font weight
font-weight lets you control how bold to display the font.
Example
a { font-weight: bold; }
Possible values
font-weight: normal-
Same as
400 font-weight: bold-
Same as
700 font-weight: bolder-
100 bolder than parent
font-weight: lighter-
100 lighter than parent
font-weight: integer-
400 is normal, 700 is bold
What your browser shows
- Alice in Wonderland • font-weight bold
- Alice in Wonderland • font-weight normal
- Alice in Wonderland • font-weight lighter
- Alice in Wonderland • font-weight 200
- Alice in Wonderland • font-weight 400
- Alice in Wonderland • font-weight 700
- Alice in Wonderland • font-weight 900
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
- CSS: Font. Index
- CSS: font-family
- CSS: Common Web Fonts
- CSS: font size
- CSS: Meaning of Font Size
- CSS: Font Weight, Bold
- CSS: font shorthand
- Emoji Font from Google, Apple, Microsoft
- Metrically Compatible Fonts
- Google Webfont Tutorial
- CSS: Chinese Font Guide 黑體 宋體
- Chinese Fonts on Windows
- Chinese Fonts on Mac