Sakamoto San Sakamoto San - 5 months ago 12
HTML Question

Auto-scale Background Image

I've been searching for solutions for hours but i still can't find a fixed solution to this
when I resize my browser, repeated image will appear.

I tried using background-repeat: no repeat but there will be blank space below which I don't want, I need it to stretch when I resize my browser

body {
background-image: url(../Image/Lost.png);



try this

body {
    background: url(" . . . ");
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;