-Webkit-Text-fill-color

A fill color for text.

Syntax
      -webkit-text-fill-color: color ;

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

Although -webkit-text-fill-color will change the color of text, in a textarea or input box, the cursor will still inherit its color from COLOR so it can be different.

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

Examples:
h1 { -webkit-text-fill-color: 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, Edge.

“It must be remembered that the purpose of education is not to fill the minds of students with facts…it is to teach them to think.” ~ Robert M. Hutchins

Related:

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


Copyright © 2013-2022 Emw3.com
Some rights reserved