You are previewing CSS3 for Web Designers.

CSS3 for Web Designers

Cover of CSS3 for Web Designers by Dan Cederholm Published by A Book Apart
Chapter 5: Multiple Backgrounds

If you asked me two years ago, “What’s the one thing you’re looking most forward to in CSS3?” I might’ve enthusiastically replied, “Multiple background images!” At the time, the ability to layer more than one background image on a single element seemed as though it would cure a lot of the headaches we’d been suffering as web designers.

To create flexible, bulletproof solutions to design problems, we must figure out how we can get by using fewer graphics or without adding extraneous markup as hooks for extra background images. We’ve done the best with what we’ve had, but the promise of being able to assign multiple background images to an element ...

The best content for your career. Discover unlimited learning on demand for around $1/day.