superwong
1. bold

粗体, 值相当于700

font-weight: bold;

2. bolder

更粗,

font-weight: bolder;

3. lighter

更细,

font-weight: lighter;

4. normal

默认值,标准字符, 值相当于400

font-weight: normal;

5. inherit

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

6. 数字表示

100~900

用法:

// 不要加单位
.box {
      font-weight: 100;
}

分类:

技术点:

相关文章: