相關主題
商品描述
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
商品描述(中文翻譯)
從自訂字型到您從各種單獨字型組合而成的臨時字型系列,CSS 3 提供了比以往更多的排版選項。本指南簡明扼要地展示了如何使用 CSS 屬性來精細且廣泛地影響您在網路上顯示字型的方式。
這本書簡短而精煉,是即將出版的《CSS: The Definitive Guide》第四版的摘錄。當您購買《字型》的印刷版或電子書版時,將在整本《Definitive Guide》發行後獲得折扣。為什麼要等呢?立即學習如何選擇和操作字型。
- 指定字型系列及其通用替代品
- 使用 @font-face 指定自訂可下載字型
- 使用絕對或相對比例、百分比或長度單位來調整字型大小
- 理解斜體和傾斜樣式之間的區別
- 學習如何指定或抑制字型的字距數據及其他字型特徵
- 為缺乏粗體或斜體文本的字型合成自己的變體