CSS Fonts

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

From custom fonts to ad-hoc font families you assemble out of a variety of individual faces, CSS 3 gives you more typographic options than ever before. This concise guide shows you how to use CSS properties to gain a fine-grained and wide-ranging influence over how you display fonts on the Web.

Short and sweet, this book is an excerpt from the upcoming fourth edition of CSS: The Definitive Guide. When you purchase either the print or the ebook edition of Fonts, you’ll receive a discount on the entire Definitive Guide once it’s released. Why wait? Learn how to choose and manipulate fonts right away.

  • Specify font families and their generic alternatives
  • Use @font-face to specify customized downloadable fonts
  • Size your fonts with absolute or relative scales, percentages, or length units
  • Understand the difference between italic and oblique styles
  • Learn how to specify or suppress a font’s kerning data and other font features
  • Synthesize your own variants for fonts that lack bold or italic text

Author(s): Eric A. Meyer
Publisher: O'Reilly Media
Year: 2013

Language: English
Pages: 68

Copyright......Page 4
Table of Contents......Page 5
Conventions Used in This Book......Page 7
How to Contact Us......Page 8
Font Families......Page 9
Using Generic Font Families......Page 11
Specifying a Font Family......Page 12
Required Descriptors......Page 15
Other Font Descriptors......Page 20
Combining Descriptors......Page 24
Font Weights......Page 26
How Weights Work......Page 28
Getting Bolder......Page 30
Lightening Weights......Page 32
Font Size......Page 35
Absolute Sizes......Page 36
Relative Sizes......Page 37
Percentages and Sizes......Page 38
Font Size and Inheritance......Page 39
Using Length Units......Page 42
Automatically Adjusting Size......Page 44
Font Style......Page 46
The font-style Descriptor......Page 48
Font Stretching......Page 49
The font-stretch Descriptor......Page 51
Font Kerning......Page 52
Font Variants......Page 53
Level 3 Values......Page 55
Font Features......Page 56
The font-feature-settings Descriptor......Page 58
Font Synthesis......Page 59
The font Property......Page 60
Adding the Line Height......Page 62
Using System Fonts......Page 63
Font Matching......Page 64
Summary......Page 66
About the Author......Page 68