background image is moved when image size is adjusted css code example
Example 1: css background offset
background-position: 5px 5px;
Example 2: background pulled to corner on small screens
html,
body {
width: 100%;
height: 100%;
margin: 0px;
padding: 0px;
overflow-x: hidden;
}