网络学院 w3pop社区 网络资源 IT新闻

w3pop.com :: 网络学院 :: CSS :: CSS font-weight属性

会员登陆

帐号

密码

回答

记住密码

忘记密码? 注册

CSS font-weight属性


作者:w3pop.com 翻译/整理:w3pop.com 发布:2007-04-28 浏览:3030 :: ::

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