background-origin: padding-box;

The background is positioned relative to the inner border edge (border box).

background-origin: border-box;

The background is positioned relative to the outer border edge (border box).

background-origin: content-box;

The background is positioned relative to the content edge (content box).