Search w3schools.com:

SHARE THIS PAGE

CSS Reference

CSS Reference CSS Selectors CSS Reference Aural CSS Web Safe Fonts CSS Units CSS Colors CSS Color Values CSS Color Names CSS Color HEX CSS3 Browser Support

CSS Properties

CSS3 text-outline Property


Example

Set a text-outline:

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

Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The text-outline property is not supported in any of the major browsers.


Definition and Usage

The text-outline property specifies a text outline.

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. Look at CSS Color Values for a complete list of possible color values



Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]