Skip to content
Sign upLog in
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
2

Background color

How do you add a background color in css?

2 years ago

Voters

Dayana-Valenti1
Dayana-Valenti1
YOUNGMASTER77
YOUNGMASTER77

Comments

TopNew
1
thewaydu
thewaydu

body {
background-color: white;
}

2 years ago
1

Ok lemme see if it works-

@thewaydu

2 years ago
1

@thewaydu
It works, thanks

2 years ago
1
thewaydu
thewaydu

@Coder2404
, do you know how to make a comment an answer, because i would suggest doing that because it closes the comment so people the the question is solved.

2 years ago
1
RYANTADIPARTHI
RYANTADIPARTHI

Solution

try this in css.

<style> body { background-color: red; } </style>

like that.

2 years ago
Load more