Offset the Background

When i was working on my grid to apply the vertical rhythm,i came across a little problem.I want to offset my background image to adapt my layout.

Use background-position

If you need to position a background-image in CSS 20px from the left and 10px from the top, that's easy. You can do background-position: 20px 10px;.if you wanted to position it 20px from the right and 10px from the bottom background-position: right 20px bottom 10px;

Using calc()

You can continue to use the two-value syntax of background-position, but do it using lengths created via calc().
background-position: calc(100% - 20px) calc(100% - 10px);