Sunday, 10 February 2013

CSS 3.0 Multipul Back grounds


CSS3 Multiple Background

Basic Implementation

.weather {
  width: 500px;
  height: 280px;
  margin: 50px auto;
  background-image: url("images/overcast.png"),
 url("images/rainbow.png"), 
 url("images/overcast.png"),
 url("images/sunny.png");
  background-position: 150px 25px, 
 200px 10px, 
 250px 25px, 
 100px 10px;
  background-repeat: no-repeat;
}

No comments:

Post a Comment