Values, Units, and Colors
Foundational CSS3 Components
Publisher: O'Reilly Media
Final Release Date: September 2012
Pages: 46

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
Product Details
About the Author
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyValues, Units, and Colors
 
4.5

(based on 2 reviews)

Ratings Distribution

  • 5 Stars

     

    (1)

  • 4 Stars

     

    (1)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

Reviewed by 2 customers

Sort by

Displaying reviews 1-2

Back to top

(1 of 1 customers found this review helpful)

 
5.0

Excellent intro or review

By Jim Schubert

from Richmond, VA

About Me Developer

Verified Reviewer

Pros

  • Accurate
  • Concise
  • Easy to understand
  • Helpful examples
  • Well-written

Cons

    Best Uses

    • Expert
    • Intermediate
    • Novice
    • Student

    Comments about oreilly Values, Units, and Colors:

    I am reviewing "Values, Units, and Colors" as part of the O'Reilly Blogger Review program. I have had about a 6 month hiatus from full-time web development, so I thought I'd be able to offer a somewhat fresh perspective of this book's content.

    It's a short, quick read. It's also well-worth the price. There were quite a few things I didn't know (or hadn't considered), such as some odd behavior in older versions of Internet Explorer and certain times a value may mean something different depending on the order of values and keywords.

    I especially loved the explanation of HSL versus RGB. I had always avoided HSL and HSLa, because RGB and RGBa seem more intuitive to me. This book explains the two very well, in a way I think someone more familiar with HSL than RGB would gain an equally better understanding as I have.

    The book also covers some relative length units which I've never used or seen used (ex, rem, ch).

    Usually, I'm not very impressed with short books of this nature. I think it's fairly difficult to get *enough* information in so few pages. I think the subject matter in this book is focused enough to cover it quickly and concisely in less than 50 pages. I'll admit, I didn't expect to say aloud while reading this, "Huh, now that makes sense."

    I'd definitely recommend this book to fellow web developers, or anyone interested in tweaking the styles of their own website. I will definitely reread this book in the future.

    (2 of 2 customers found this review helpful)

     
    4.0

    Foundational CSS3 Components

    By Ish Ot Jr.

    from Ann Arbor, MI

    About Me Developer

    Verified Reviewer

    Pros

    • Accurate
    • Concise
    • Easy to understand
    • Helpful examples
    • Well-written

    Cons

      Best Uses

      • Expert
      • Intermediate
      • Novice
      • Student

      Comments about oreilly Values, Units, and Colors:

      Values, Units, and Colors is the third installment of Eric Meyer's fourth edition of CSS: The Definitive Guide. The partwork-style approach taken here is somewhat novel: Meyer is offering final chapters (as opposed to Early Release's often incomplete, buggy, or missing content) in inexpensive installments, with a discount on the final, complete book. I've been a big fan of Eric Meyer since On CSS and More…, so was ecstatic to learn that The Definitive Guide would be receiving a much-needed update to its 2006 Third Edition.

      As the title implies, Values, Units, and Colors enumerates the keywords, strings, numbers, and syntax associated with the manipulation of HTML elements via CSS. What could have been little more than a crushingly boring list is made enjoyable by extensive supporting background information and history, as well as frequently goofy example values like web.waffles.org and syrup.html. Also appreciated are details of browser support for features being described, often indicating their significant lack thereof, thus dashing the reader's hopes of implementing an exciting feature that was just described – which is of course not the fault of the author! Another appreciated feature is the use of mostly greyscale examples when possible – allowing for easy viewing on E Ink displays – reverting to color only when absolutely necessary, such as in describing hue angles. Values, Units, and Colors, which I received gratis via the O'Reilly Blogger Review Program, is a superb overview of its namesake properties. The book concludes with a Color Equivalence Table, detailing the RGB Decimal, RGB Percentage, HSL, Hex, and Short Hex (when applicable) derivations of all 147 keywords defined in the CSS Color Module Level 3. I'm certainly looking forward to the next installment!

      Displaying reviews 1-2

      Back to top

       
      Buy 2 Get 1 Free Free Shipping Guarantee
      Buying Options
      Immediate Access - Go Digital what's this?
      Ebook: $6.99
      Formats:  DAISY, ePub, Mobi, PDF
      Print & Ebook: $8.79
      Print: $7.99