CSS3 text-outlineProperty
Example
Set text-outline (text outline)
p.test
{
text-outline: 2px 2px #ff0000;
}
{
text-outline: 2px 2px #ff0000;
}
Browser Support
![]()
![]()
![]()
![]()
![]()
No mainstream browser supports the text-outline property.
Property definition and usage instructions
The text-outline property specifies the outline of text.
| Default value: | none |
|---|---|
| Inherited: | yes |
| version: | CSS3 |
| JavaScript Syntax: | object.style.textOutline="2px 2px #ff0000" |
Syntax
text-outline: thickness blur color;
| Value | Description |
|---|---|
| thickness | Required. The thickness of the outline. |
| blur | Optional. The blur radius of the outline. |
| color | Required. The color of the outline. SeeCSS Color Values 。 |