• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 9. Styling Text > Coloring Text

Coloring Text

This is the easy part! Text color uses the color: property, which, as you can see, does not have a font or text prefix.

To apply a color to a font, simply use the color property along with an appropriate color value. You can refer to Chapter 8, “Working with Color and Images Using CSS,” where I applied the color property in numerous cases and discussed color values at length.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint