A shorthand property that specifies text stroke color and stroke width.
Syntax -webkit-text-stroke: -webkit-text-stroke-color -webkit-text-stroke-width
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: 5px red; }
.emw3class { -webkit-text-fill-color: rgb(255,0,0); }
#emw3id { -webkit-text-fill-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.
“To me, the whole process of being a brush stroke in someone else's painting is a little difficult” ~ Madonna
Related:
-webkit-text-fill-color - Text fill color (inside)
-webkit-text-stroke -width -color- Stroke