Skip to content

Multiple background images using CSS?

Last updated on January 17, 2018

CSS3 allows web designers to specify multiple background images for box elements, using nothing more than a simple comma-separated list.

Multiple backgrounds are supported by the latest versions of Firefox, Chrome, Safari, and Opera. even IE9 also supported multiple backgrounds.

  #selector {
	background-attachment: scroll,scroll,scroll;
 
	background-image: url(pavan.jpg),url(pavan1.jpg),url(pavan2.jpg);
 
	background-repeat: no-repeat,no-repeat,no-repeat;
 
	background-position: left top,right top,right bottom;
 
    }
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments