CSS3 text-outline property
Examples
Setting text-outline (Text - outline):
p.test
{
text-outline: 2px 2px # ff0000;
}
{
text-outline: 2px 2px # ff0000;
}
Browser Support
Any major browsers do not support text-outline property.
Attribute definitions and instructions
text-outline attribute specifies the text outline.
Defaults: | none |
---|---|
inherit: | yes |
version: | CSS3 |
JavaScript syntax: | object .style.textOutline = "2px 2px # ff0000" |
grammar
text-outline:thickness blur color;
值 | 描述 |
---|---|
thickness | 必需。轮廓的粗细。 |
blur | 可选。轮廓的模糊半径。 |
color | 必需。轮廓的颜色。参阅 CSS 颜色值 。 |