Tutorial Multiple Backgrounds Syntax

Browsers that support multiple backgrounds (WebKit from the very early days, Firefox 3+) use a syntax like this: #box { background: ur...

Browsers that support multiple backgrounds (WebKit from the very early days, Firefox 3+) use a syntax like this:
#box {
background:
url(icon.png) top left no-repeat,
url(texture.jpg),
url(top-edge.png) top left repeat-y;
}
They are comma separated values and there can be as many as you want with different URL's, positioning, and repeat values. You can even combine WebKit

Hot in Week

Popular

Archive

item