Values, Units, and Colors (Paperback)

Eric A. Meyer

  • 出版商: O'Reilly
  • 出版日期: 2012-11-13
  • 定價: $280
  • 售價: 3.5$99
  • 語言: 英文
  • 頁數: 48
  • 裝訂: Paperback
  • ISBN: 1449342515
  • ISBN-13: 9781449342517
  • 相關分類: CSS
  • 立即出貨

商品描述

Nearly everything you do with CSS involves units for determining the look and formatting of your web page elements. With this concise guide, you’ll learn how to work with an array of units—including measurements and keywords—that help you define color, text, distance between elements, location of external files, and other values.

This book contains chapters from the upcoming fourth edition of CSS: The Definitive Guide. When you purchase either the print or the ebook edition of Values, Units, and Colors, you’ll receive a significant discount on the entire Definitive Guide when it’s released. Why wait when you can learn how to use units and other key CSS3 features right away?

  • Use RGB or HSL values to mix your own colors, and designate the degree of opacity
  • Learn how to apply global keywords introduced in CSS3
  • Use string values to wrap a sequence of text characters in quotes
  • Describe margins, letter spacing, and other properties, with either fixed or relative length units
  • Understand how number, integer, and percentage values differ
  • Explore CSS3 unit types for describing display resolution
  • Use time values for transitions and animations

商品描述(中文翻譯)

幾乎所有與 CSS 相關的操作都涉及單位,用以確定網頁元素的外觀和格式。這本簡明指南將教你如何使用各種單位,包括測量和關鍵字,來定義顏色、文字、元素間距、外部文件位置和其他值。

本書收錄了即將發行的《CSS: The Definitive Guide》第四版的章節。當你購買印刷版或電子書版的《Values, Units, and Colors》時,你將在《Definitive Guide》全書發行時獲得顯著折扣。為什麼等待呢?你可以立即學習如何使用單位和其他關鍵的 CSS3 功能。

本書內容包括:
- 使用 RGB 或 HSL 值混合自己的顏色,並指定不透明度程度
- 學習如何應用 CSS3 中引入的全局關鍵字
- 使用字符串值將一系列文字字符包裹在引號中
- 使用固定或相對長度單位描述邊距、字距和其他屬性
- 理解數字、整數和百分比值的差異
- 探索用於描述顯示解析度的 CSS3 單位類型
- 使用時間值進行過渡和動畫