CSS3 text-outline 属性


实例

设置text-outline(文本-轮廓):

p.test
{
text-outline: 2px 2px #ff0000;
}

浏览器支持

Internet ExplorerFirefoxOperaGoogle ChromeSafari

任何主流浏览器都不支持text-outline属性。


属性定义及使用说明

text-outline属性指定文字大纲。

默认值: none
继承: yes
版本: CSS3
JavaScript 语法: object.style.textOutline="2px 2px #ff0000"


语法

text-outline: thickness blur color;

描述
thickness 必需。轮廓的粗细。
blur 可选。轮廓的模糊半径。
color 必需。轮廓的颜色。参阅 CSS 颜色值