Multiple Backgrounds with CSS3
A simple and cool way to have multiple backgrounds on a single DIV element. This is a CSS3 property and works on every major browser (with always the unfortunate inconvenience of the IE Family - Works on IE9+).
background: url(image1.png) 600px 10px no-repeat, url(image2.png) 10px 10px no-repeat, url(image3.png);
image1 = image on top; image2 = image on the middle; image3 = image on bottom;
It's like z-index but this isn't z-index, it's parts of one single element.
Like Chris Coyier of CSS-Tricks wrote:
I think it’s slightly confusing, since it’s the opposite of how HTML works naturally. If all elements have the same z-index (and are positioned in some way and overlap) the last element will be on top, not the first. Not that big of a deal though, just need to learn it once.
For more information about multiple background images try this post from CSS-Tricks or this video tutorial from Treehouse.