O'Reilly logo

CSS3 For Web Designers, Second Edition by Jeffrey Zeldman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 had always seemed, to me, to be this wonderful promise of easier times with ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required