-webkit-text-stroke-width

Defines how thick the outline (stroke) around text characters should be. Keep it subtle (1-2px) to prevent the text from looking distorted.

Quick example

h1 {
  -webkit-text-stroke-width: 1.5px;
  -webkit-text-stroke-color: #333;
  font-size: 3rem;
}

Quick facts

Initial value
0
Inherited
Yes
Applies to
all elements
Animation type
discrete

-webkit-text-stroke-width Browser Support

Widely available Since 2017 96% global usage

This feature is well established and works across many devices and browser versions. It has been available across browsers since 2017.

Safe to use without fallbacks.

1+
49+
3+
15+
ESC