Can't Seem To resize my background image to fit the page?

Cannot believe I am asking this question, But I cannot seem to get my background image to resize? is this because it is using Html as a parent? I’ve been having a lot of trouble with Background images in this IDE.


 html{
    background-image: url("./image.jpg");
}

.Introduction{
color: black;
font-family: Georgia, 'Times New Roman', Times, serif;
}

I have tried all of the resizing methods.

1 Like

Yes, It is not possible to set a image on the html tag since it also contains the head and body element. all visual stuff should be added on the <body> element or children of the <body> element.

1 Like

Ok. Also, I figured out that the webpage wasn’t updating.