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(/css/images/logo.png), url(/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

Lakshmi Srinivas
Lakshmi Srinivas

Programmer / Analyst / Technician

Updated on: 16-Mar-2020

97 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements