Computer >> Computer tutorials >  >> Programming >> CSS

CSS Multi background property


CSS Multi background property is used to add one or more images at a time without HTML code. We can add images as per our requirement.

A sample syntax of multi background images is as follows −

#multibackground {
   background-image: url(/https/www.wsxdn.com/css/images/logo.png), url(/https/www.wsxdn.com/css/images/border.png);
   background-position: left top, left top;
   background-repeat: no-repeat, repeat;
   padding: 75px;
}

The following are the values −

S.no
Values & Description
1.background
Used to set all the background image properties in one section
2.background-clip
Used to declare the painting area of the background
3.background-image
Used to specify the background image
4.background-origin
Used to specify the position of the background images
5.background-size
Used to specify the size of the background images