CHAPTER 4

image

Styling Text

Text is the most important element in the vast majority of sites. So, presenting text in a visually pleasing manner is an important part of your design. Not only should the text look good, it must be easy to read—the font needs to be large enough, but not too large, and the text shouldn’t look too dense or bunched up. CSS has many properties that affect the appearance of text. Most are very easy to use, and they have an immediate impact on the overall design of a site.

In this chapter, you’ll learn about the following:

  • Defining which fonts are used for text
  • Understanding the different methods to specify font size
  • Adding ...

Get Beginning CSS3 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.