当前位置: 首页 > 网络学院 > 网页制作基础教程 > CSS > CSS font-weight属性

CSS
CSS2 Aural
CSS 单位
CSS 颜色
CSS 颜色值
CSS 颜色名称
CSS 编码与组织技巧
CSS 模块化设计思路
CSS完美兼容IE6/IE7/FF的通用方法
CSS @ Ten: 下一个重要的东西

CSS font-weight属性


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 345 ::
收藏到网摘: n/a

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

登陆 | 还没注册?