CHAPTER 10Styling Text

This chapter is the first of three chapters containing design patterns that style text. The next chapter discusses how to put space around text. Chapter 12 discusses how to align text. Strictly speaking, this is the only chapter that actually styles text. The following two chapters style inline elements, which can contain text or be replaced by images, objects, controls, movies, and so on.

This chapter contains the following design patterns:

  • Font shows how to style text using fonts.
  • Highlight shows how to highlight text using color and tiled background images.
  • Text Decoration shows how to create custom styles for underlines, overlines, and line-throughs.
  • Text Shadow shows how to automatically generate shadows behind text ...

Get Pro CSS and HTML Design Patterns 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.