re-size background image

Two sources were used for this tip. CSS background image to fit width, height should auto-scale in proportion Mozilla about background-size body { overflow-y: hidden ! important; overflow-x: hidden ! important; background-color: #f8f8f8; background-image: url('index.png'); /*background-size: cover;*/ background-size: contain; background-repeat: no-repeat; background-position: right; } For a full background image, the following code…