w3pop.com :: 网络学院 :: CSS :: CSS font-weight属性
The font-weight property sets how thick or thin characters in text should be displayed.
font-weight 属性可以设置文字中的字符粗细应该是多少。
Inherited: Yes
继承性:有
| p { font-weight: bold } |
| 值 | 描述 |
|---|---|
| normal | Defines normal characters 定义一般字符 |
| bold | Defines thick characters 定义粗体字符 |
| bolder | Defines thicker characters 定义更粗的字符 |
| lighter | Defines lighter characters 定义更细的字符 |
| 100 200 300 400 500 600 700 800 900 |
Defines from thin to thick characters. 400 is the same as normal, and 700 is the same as bold 从细到粗,400和normal一样,700和bold一样。 |
评论 (0)
All