Using the background-origin property you can position background images relative to the inner border edge (default), outer border edge, or the content edge.

posted on