color
Description »Specifies the color of the text. |
|
Possible Values »
- color: value;
- The value can be any string, hexadecimal, or rgb color value. See Colors.
- color: transparent;
- The color for the text will essentially match its background.
Details »
This property will define the color of the text for the selected element and its descendents.
Theoretically, you could make the text "invisible" by making it the same color as the background. This isn't as effective on multi-colored images unless transparent is passed, which isn't supported by every major browser.
In Practice »
Results | CSS |
Try it! | at The CSS Zone Sandbox |