Chapter 3. Stylin’ Fonts and Text

MUCH OF WEB DESIGN is dealing with text—in paragraphs, headlines, lists, menus, and forms. As a result, the CSS properties shown in this chapter are essential to making the difference between a site that looks thrown together and one that looks like it has the professional touch. More than any other factor, type makes the clearest visual statement about the quality of your site’s offerings. Graphics are the icing on the cake; typography is where good design begins.

If the chapter title has you wondering “Aren’t fonts and text the same thing?”, the answer is “No,” and here’s why.

Fonts are the different kinds of typefaces. Each font is a set of letters, numbers, and symbols with a unique visual appearance. All fonts ...

Get Stylin’ with CSS: A Designer’s Guide, Second Edition 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.