0%

Book Description

One advantage of using CSS3 is that you can apply colors and backgrounds to any element in a web document, create your own gradients, and even apply multiple backgrounds to the same element. This practical guide shows you many ways to use colors, backgrounds, and gradients to achieve some pretty awesome effects. Short and sweet, this book is an excerpt from the upcoming fourth edition of CSS: The Definitive Guide.

Table of Contents

  1. Preface
    1. Conventions Used in This Book
    2. Using Code Examples
    3. SafariĀ® Books Online
    4. How to Contact Us
  2. 1. Colors and Backgrounds
    1. Colors
      1. Foreground Colors
      2. Affecting Borders
      3. Affecting Form Elements
      4. Inheriting Color
    2. Backgrounds
      1. Background Colors
      2. Clipping the Background
      3. Background Images
      4. Background Positioning
      5. Changing the Positioning Box
      6. Background Repeating (or Lack Thereof)
      7. Getting Attached
      8. Sizing Background Images
      9. Bringing It All Together
      10. Multiple Backgrounds
    3. Gradients
      1. Linear Gradients
      2. Radial Gradients
      3. Manipulating Gradient Images
      4. Repeating Gradients
    4. Summary
3.16.69.143