CSS Background-origin Property
Reference on the background-origin Property. How to change the background positioning area.
The CSS Background-origin Property is used to control the background positioning area.
background-origin doesn't apply when the background-attachment is fixed.
Using the background shorthand property will reset this property to its default value.
Possible Values
- padding-box
- border-box
- content-box
Background-origin Example
#Basement {
background-origin: border-box;
}