-Webkit-Text-stroke-color

A color for the text stroke.

Syntax
      -webkit-text-stroke-color: color ;

If not specified, the color specified by the color property is used.

-webkit-text-fill-color is commonly used in combination with -webkit-text-stroke. Changes to this property can be animated.

Examples:
h1 { -webkit-text-stroke-color: red; }
.emw3class { -webkit-text-stroke-color: rgb(255,0,0); }

#emw3id { -webkit-text-stroke-color: inherit; }

Try it:

This webkit formatting is not yet on the standards track, so you may wish to add additional emphasis with bold or italic.

(CSS 1) Browser Support: Firefox, Safari, Chrome.

“There are two ways of spreading light: to be the candle or the mirror that reflects it.” ~ Edith Wharton

Related:

-webkit-text-fill-color - Text fill color (inside)
-webkit-text-stroke -width -color - Stroke
CSS Tricks - adding text stroke


Copyright © Emw3.com 2013-2017
Some rights reserved