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

CSS
CSS 介绍
CSS 语法
使用 CSS
CSS 背景
CSS 文字
CSS 字体
CSS 边框
CSS 边距
CSS 填充
CSS 列表
CSS 尺寸
CSS 类别
CSS 定位
CSS 伪类
CSS 伪元素
CSS2 Media类型
CSS 摘要
CSS 实例
CSS2 参考资料
CSS2 打印

CSS font-weight属性


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 344 ::
收藏到网摘: 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

登陆 | 还没注册?