第 9 章 颜色、背景和渐变 Colors, Backgrounds, and Gradients 9.1 Colors Foreground Colors Affecting Borders Affecting Form Elements Inheriting Color 9.2 Backgrounds Background Colors Clipping the Background Background Images Background Positioning Changing the Positioning Box Background Repeating (or Lack Thereof) Getting Attached Sizing Background Images Bringing It All Together Multiple Backgrounds 9.3 Gradients Linear Gradients Radial Gradients Manipulating Gradient Images Repeating Gradients 9.4 Box Shadows 9.5 Summary