介绍

text-stroke-width 属性指定了文字的笔画宽度。

使用示例

语法

text-stroke-width: 2px;
text-stroke-width: 0.1em;
text-stroke-width: 5pt;

取值

形式定义

初始值空值
适用元素所有元件
是否支持继承no
是否支持动画no

形式语法

<length[0,∞]>

与 Web 的区别

  • 不支持设置笔画宽度为 thin 等属性值。

兼容性

LCD tables only load in the browser

除非另有说明,本项目采用知识共享署名 4.0 国际许可协议进行许可,代码示例采用 Apache License 2.0 许可协议进行许可。