background-origin

Term side of the Card
Topic: Background
Unit title: background-origin
Categories: Property
Explanation side of the Card

Explanation: The property that defines where the background image or color is positioned within an element. It can be positioned from the 'border-box', 'padding-box' or 'content-box', affecting how the background is aligned relative to the element's boundaries.

Browser compatibility:
  • The chrome browser supports this feature starting from version 1
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 4
  • The safari browser supports this feature starting from version 3
Availability: