相關主題
商品描述
As a web designer, you probably spend more time working with text than any other element. With this concise guide, you’ll learn CSS3 properties for changing the appearance of text without altering the font face—including horizontal and vertical alignment, text transformation, word and letter spacing, text wrapping, and the direction of text flow.
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 CSS Text, you’ll receive a discount on the entire Definitive Guide once it’s released. Why wait, when you can start manipulating text on your pages right away?
- Use properties for indenting and aligning lines of text
- Control the leading between lines of text beyond the font’s size
- Change the amount of space between words and individual characters
- Add underlines, overlines, strike-throughs, shadows, and other effects
- Instruct browsers to prioritize speed, legibility, or geometric precision when rendering text
- Learn how and when to suppress automatic hyphenation
- Determine the direction that text flows, including left-to-right and top-to-bottom
商品描述(中文翻譯)
作為一名網頁設計師,你可能花更多時間處理文字而不是其他元素。這本簡明指南將教你使用CSS3屬性來改變文字的外觀,而不需要改變字體,包括水平和垂直對齊、文字轉換、單詞和字母間距、文字換行以及文字流的方向。
這本書是《CSS: The Definitive Guide》第四版即將發行的一部分。當你購買《CSS Text》的印刷版或電子版時,你將獲得整本《Definitive Guide》發行時的折扣。為什麼等待呢?你可以立即開始在你的網頁上操作文字。
本書包含以下內容:
- 使用屬性縮進和對齊文字行
- 控制字體大小以外的行間距
- 改變單詞和個別字符之間的間距
- 添加下劃線、上劃線、刪除線、陰影和其他效果
- 指示瀏覽器在渲染文字時優先考慮速度、可讀性或幾何精確度
- 學習如何以及何時禁止自動斷詞
- 確定文字流的方向,包括從左到右和從上到下