合规国际互联网加速 OSASE为企业客户提供高速稳定SD-WAN国际加速解决方案。 广告
[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 - **版本:CSS3** - 继承性:有 ### 语法: **text-stroke**:[ [text-stroke-width](#) ] || [ [text-stroke-color](#) ] **默认值**:看每个独立属性 ### 取值: [ [text-stroke-width](#) ]:设置或检索对象中的文字的描边厚度[ [text-stroke-color](#) ]:设置或检索对象中的文字的描边颜色 ### 说明: **复合属性。设置或检索对象中的文字的描边。** - 对应的脚本特性为**textStroke**。 ### 兼容性: - 浅绿 = 支持 - 红色 = 不支持 - 墨绿 = 部分支持 - 橙色 = 实验性质 | [支持版本](# "查看本文档测试时所用浏览器版本")\类型 | 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 | | Gecko(Firefox) | | | Presto(Opera) | | | Trident(IE) | | | W3C | text-stroke | ### 示例: # 描边的文字: 我是被描了1像素红边的文字 Copyright © 2006-2012 [Doyoe](http://www.doyoe.com/). All Rights Reserved