You are here: Reference > CSS > properties > browser specific extensions > -webkit-text-stroke

-webkit-text-stroke property

Browser support:
Sets the color and width of the text outline.
JavaScript page for this property: webkitTextStroke. You can find other example(s) there.

Possible values:

 One of the following values: 
 Any of the following values (use the space character to separate them, each value can be used only once): 

Description of values:

Sets the color of text's outline.
Sets the width of text's outline.
Takes the value of this property from the computed style of the parent element.
Default: black.

Example HTML code 1:

This example illustrates the use of the -webkit-text-stroke property:
        #myDiv { 
            -webkit-text-fill-color: red;
            -webkit-text-stroke: 1px red;
    <div id="myDiv">
        Some stroked text
Did you find this example helpful? yes no

Supported by tags:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content