Values, Units, and Colors

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

Table of Contents

  • Keywords, Strings, and Other Text Values
  • Numbers and Percentages
  • Distances
  • Color
  • Angles
  • Time and Frequency
  • Position
  • Summary
  • Color Equivalence Table

Book Details

  • Paperback: 44 pages
  • Publisher: O’Reilly Media (September 2012)
  • Language: English
  • ISBN-10: 1449342515
  • ISBN-13: 978-1449342517
Download [7.2 MiB]

You may also like...

Leave a Reply