css字体属性font-weight

1. bold

粗体, 值至关于700浏览器

font-weight: bold;字体

2. bolder

更粗,code

font-weight: bolder;orm

3. lighter

更细,继承

font-weight: lighter;it

4. normal

默认值,标准字符, 值至关于400co

font-weight: normal;字符

5. inherit

规定从父级继承字体的粗细, ie浏览器(低版本的ie浏览器不支持)数字

6. 数字表示

100~900版本

用法:

// 不要加单位
.box {
      font-weight: 100;
}
相关文章
相关标签/搜索