As this property is only supported by –webkit- prefix we can see below examples using webkit prefix. Educba Training Sometimes you’ll see websites use this to list descriptions of their work, or their history, or clients they’ve worked with. Similar to the color property, the -webkit-text-fill-color fills the foreground color of the text content of an element. We get around animating the gradient by animating the background-position instead. This property provides two shorthand properties like text-stroke-width which provides the width or thickness of the text and text-stroke-color provides the color of the text using color names or color values.
CSS text-stroke-width property
There's no limit to the number or frequency of CSS properties that can be changed. We saw that this text-stroke property is not supported by all the browsers so we can use the text-fill-color property to be used as this supports all the webkit based browsers. #H { stroke-dasharray: 0px; stroke-dashoffset: 0px;} 5. In the above program, we have used text-stroke property which specified the font size and color in a single property and we can see the output. 20 new items. -webkit-text-stroke: width value color value;