Is there a way to add a background colour to a whole page on HTML/CSS

I am curious as to wether or not I can change the whole background colour of a webpage or is it easier to just import a blank colour image.

Figured it out! Thanks anyways guys. I just made a ruleset for and made the background colour what I needed it to be if anyone else needs a hand.

1 Like

Hi, I know you said you solved your problem, but I just wanted to check in real quick since no solution was posted.

Did you apply background-color to the body selector? That would be the easiest solution otherwise. :slight_smile:

Great job figuring out yourself!


Yes that was it. Thank you so much.

1 Like