Web platform features explorer

Text stroke and fill (compatibility prefixes)

Widely available since 2019-10-05
Tags: css Groups: CSS

The -webkit-text-stroke-width and -webkit-text-stroke-color CSS properties set the thickness and color of text outlines. The -webkit-text-fill-color sets the color within text character outlines. Both default to the text color.

Browser support (view on caniuse.com)

  • Chrome 4 Released on 2010-01-25
  • Chrome Android 18 Released on 2012-06-27
  • Edge 15 Released on 2017-04-05
  • Firefox 49 Released on 2016-09-20
  • Firefox for Android 49 Released on 2016-09-20
  • Safari 3 Released on 2007-10-26
  • Safari on iOS 2 Released on 2008-07-11