C H A P T E R  22

Styling Text

In this chapter, I show you the CSS properties you can use to style text. This is a volatile area for CSS3. There are some very useful new features that have been widely adopted (and which I explain in the sections that follow). There are also some very speculative proposals whose future is uncertain. These tend to deal with very technical typographic details, and it is not certain that there is sufficient demand to drive these proposals into standards. That said, the features that have been embraced by the mainstream browsers make working with text a lot more flexible and pleasant. Table 22-1 provides the summary for this chapter.

Tip The color property can be used to set the color of text. This property is ...

Get The Definitive Guide to HTML5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.