Wednesday 20 March 2013

Multiple Backgrounds with CSS


<div id="multipleBGs"></div>


#multipleBGs {
background: url(photo1.png),
url(photo2.png),
url(photo3.png)
;
background-repeat: no-repeat,
  no-repeat,
  repeat-y;
background-position: 0 0,
30px 70px,
right top;
width: 400px;
height: 400px;
border: 1px solid #ccc;
}