ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、视频、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
[CSS参考手册](http://css.doyoe.com/)»[属性列表](#)»[文本属性](#)» 相关内容: [**其它文本属性参考**选择其它项](#) - [text-indent](#) - [text-overflow](#) - [text-align](#) - [text-transform](#) - [text-decoration](#) - [text-decoration-line](#) - [text-decoration-color](#) - [text-decoration-style](#) - [text-shadow](#) - [text-fill-color](#) - [text-stroke](#) - [text-stroke-width](#) - [text-stroke-color](#) - [letter-spacing](#) - [word-spacing](#) - [vertical-align](#) - [word-wrap](#) - [white-space](#) - [direction](#) - [unicode-bidi](#) - [line-height](#) - [tab-size](#) # text-stroke-width - **版本:CSS3** - 继承性:有 ### 语法: **text-stroke-width**:[<length>](#) **默认值**:0 ### 取值: [<length>](#):用长度值指定描边厚度。不允许负值 ### 说明: **设置或检索对象中的文字的描边厚度** - 对应的脚本特性为**textStrokeWidth**。 ### 兼容性: - 浅绿 = 支持 - 红色 = 不支持 - 墨绿 = 部分支持 - 橙色 = 实验性质 | [支持版本](# "查看本文档测试时所用浏览器版本")\类型 | IE | Firefox | Safari | Chrome | Opera | |-----|-----|-----|-----|-----|-----| | 版本 | 6.0-10.0 | 4.0-9.0.1 | 5.1 | 13.0 | 11.50-11.60 | ### 写法: | 内核类型 | 写法 | |-----|-----| | Webkit(Chrome/Safari) | -webkit-text-stroke-width | | Gecko(Firefox) | | | Presto(Opera) | | | Trident(IE) | | | W3C | text-stroke-width | ### 示例: # 描边的文字: 我是被描了2像素黄边的文字 Copyright © 2006-2012 [Doyoe](http://www.doyoe.com/). All Rights Reserved