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 ...

Get CSS3 for Web Designers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.