Font-weight font-weight 字体浓淡(粗细)属性,该CSS属性用来设定字体的浓淡程度。 值:normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600...
font-weight 字体浓淡(精细)属性,该CSS属性用来设定字体的浓淡程度。 值:normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800...
p.normal {font-weight:normal;} p.thick {font-weight:bold;} p.thicker {font-weight:900;} 亲自试一试浏览器支持 表格中的数字注明了完全支持该属性的首个浏览器版本。 ...
概述 font-weight CSS 属性指定了字体的粗细程度。一些字体只提供 normal 和bold 两种值。 尝试一下/* Keyword values */ font-weight: normal; font-weight: ...
全部显示 使用 FontWeight 属性可以指定 Windows 在控件中显示以及打印字符所用的线宽。 expression.FontWeight expression 必需。返回“应用于”列表中的一个对象的表达式。...
实例 三段文字设置不同的字体粗细: p.normal {font-weight:normal;} p.thick {font-weight:bold;} p.thicker {font-weight:900;} 尝试一下 » 属性定义及使用说明font-weigh...
font-weight可取值:100~900和normal、bold、bolder、lighter。 100~900、normal、bold 如果字体使用九阶有序数值100~900来划分其字重(字体的粗细度),那么样式指定的font-weigh...
1 新建一个html文件,命名为test.html,用于讲解css中font-weight属性有什么用处。2 在test.html文件中,使用span标签创建一行文字,用于测试。3 在css标签内,将font-weight属性设...
收录于:2022-12-11 05:40:03