Text Color
In addition to background color, CSS also provides developers the ability to specify the color of text. The property name for this is simply color:
.
The color property is an “inherited” property. This means a developer can define a color property value in a top level element, and it will be “inherited” by all children elements.
- Previous
- Next