HTML and CSS Reference
In-Depth Information
Example
<h1 style="font-size: 70px;-webkit-text-stroke-color: red;
-webkit-text-stroke-width: 1px;"> Merry Christmas </h1>
Compatibility
No specification
Chrome 2+, Safari 3+
Notes
• Under WebKit-based browsers this property is defined as -webkit-text-stroke-
color .
• This property is used in conjunction with text-stroke-width and often with
text-fill-color .
text-stroke-width
This property defines the width for the outline of a text block.
Syntax
text-stroke-width: length | thin | medium | thick
The default length is 0, so it is necessary to set this property if using text-stroke-color ,
or the outline will not display.
Example
<h1 style="font-size: 70px;-webkit-text-stroke-color: red;
-webkit-text-stroke-width: 1px;"> Merry Christmas </h1>
Compatibility
No specification
Chrome 2+, Safari 3+
Notes
• Under WebKit-based browsers this property is defined as -webkit-text-stroke-
width .
• This property is used in conjunction with text-stroke-color and often with
text-fill-color .
text-underline-position
This Microsoft-introduced property defines the position of underlining set by the text-
decoration property.
Syntax
text-underline-position: above | auto | below
Search WWH ::




Custom Search