property

webkit text stroke width — CSS reference

Sets glyph outline thickness independently of fill. Keep strokes modest to preserve letter shapes.

Formal Syntax & Structure

css syntaxcss
-webkit-text-stroke-width: 2px;

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>-webkit-text-stroke-width</title><style>body{margin:8px;background:white;color:black;font:16px/20px sans-serif}*{box-sizing:content-box}#a{font:40px sans-serif;-webkit-text-stroke-width:2px}</style><body><div id="a">Example text</div></body></html>
CSS Reference