font-weight属性

normal:默认值,定义的是标准字符的字重;

bold:定义粗体字符;

bolder:定义更粗体的字符;

lighter:定义更细的字符;

100 200 300 400 500 600 700 800 900:值越大字符越粗,400等同于normal,700等同于bold;

inherit:继承父元素的字体的粗细;

原文:http://www.w3school.com.cn/cssref/pr_font_weight.asp

原文地址:https://www.cnblogs.com/xjy20170907/p/11161886.html