ChapterOpener_Casario.jpg

Chapter 3

Fonts, Text, and Color

Interest in typography on the Web has grown heavily over the last few years. Most websites rely on text to convey their messages, so it’s no surprise that text should be treated with the utmost care. In this chapter, we’ll look at some useful techniques that use the power of Cascading Style Sheets (CSS) Text Level 3 specification, which give Web designers finer control over text.

Solution 3-1: Using @font-face

The most important new feature of CSS3 has been its full support of @font-face. Forget the classics like Arial or Verdana: now you can choose from a much wider range of fonts. CSS Fonts Module 3 has made ...

Get CSS3 Solutions: Essential Techniques for CSS3 Developers 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.