-webkit-text-stroke property
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: | ||||||||||
|
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:
|
||||
<head> <style> #myDiv { -webkit-text-fill-color: red; -webkit-text-stroke: 1px red; } </style> </head> <body> <div id="myDiv"> Some stroked text </div> </body> |
||||
|
||||
Did you find this example helpful?
|
Supported by tags:
a, abbr, acronym, address, b, bdo, big, blockQuote, body, button, caption, center, cite, code, dd, del, dfn, dir, div, dl, dt, em, fieldSet, font, form, H1, H2, H3, H4, H5, H6, html, i, input:button, input:file, input:password, input:reset, input:search, input:submit, input:text, ins, isIndex, kbd, label, legend, li, marquee, menu, ol, p, pre, q, s, samp, select, small, span, strike, strong, sub, sup, table, tBody, td, textArea, tFoot, th, tHead, tt, u, ul, var, xmp
Related pages:
External links:
User Contributed Comments