Book description
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
- Values, Units, and Colors
- SPECIAL OFFER: Upgrade this ebook with O’Reilly
- Preface
- 1. Values, Units, and Colors
- About the Author
- SPECIAL OFFER: Upgrade this ebook with O’Reilly
- Copyright
Product information
- Title: Values, Units, and Colors
- Author(s):
- Release date: September 2012
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449358426
You might also like
book
Colors, Backgrounds, and Gradients
One advantage of using CSS3 is that you can apply colors and backgrounds to any element …
book
The Heart of the Photograph
Photographers often look at an image—one they’ve either already created or are in the process of …
article
Twenty Years of Open Innovation
Organizations that practice open innovation draw on external resources to develop new ideas for products and …
book
From Arsenic to Zirconium
Indulge your love of the periodic table with this collection of poems and fun facts about …