-webkit-text-fill-color property

Specifies a fill color for text.

Syntax

-webkit-text-fill-color: <color>

Property values

color

A supported color value.

CSS information

Applies ToAll elements
Mediavisual
Inheritedno
Initial Valuenone

Examples

The example below uses -webkit-text-fill-color to change the fill color of text to blue.


h1 {
   -webkit-text-fill-color: blue;
}

See also

CSSStyleDeclaration

 

 

Show: