By using this site you agree to the use of cookies by Brugbart and our partners.

Learn more

CSS Background-origin Property

Reference on the background-origin Property. How to change the background positioning area.

Edited: 2015-02-21 15:05

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

Background-origin Example

#Basement {
  background-origin: border-box;