text-stroke
- 版本:CSS3
- 继承性:有
语法:
text-stroke:[ text-stroke-width ] || [ text-stroke-color ]
默认值:看每个独立属性
取值:
- [ text-stroke-width ]:
- 设置或检索对象中的文字的描边厚度
- [ text-stroke-color ]:
- 设置或检索对象中的文字的描边颜色
说明:
复合属性。设置或检索对象中的文字的描边。
- 对应的脚本特性为textStroke。
兼容性:
- = 支持
- = 不支持
- = 部分支持
- = 实验性质
| 支持版本\类型 | |||||
|---|---|---|---|---|---|
| 版本 | 6.0-10.0 | 4.0-9.0.1 | 5.1 | 13.0 | 11.50-11.60 |
写法:
| 内核类型 | 写法 |
|---|---|
| Webkit(Chrome/Safari) | -webkit-text-stroke |
| Gecko(Firefox) | |
| Presto(Opera) | |
| Trident(IE) | |
| W3C | text-stroke |