CSS3 contains several new background attributes; and moreover, in CSS3, some changes are also made in the previous properties of the background; which allow greater control on the background element.
The new background properties added are as follows.
background-clip property is used to determine the allowable area for the background image.
If there is no background image, then this property has only visual effects such as when the border has transparent regions or partially opaque regions; otherwise,the border covers up the difference.
The syntax for the
background-clip property are as follows:
background-clip: no-clip / border-box / padding-box / content-box;
The values for the