Answers for "css change background color of body"

14

how to make a background color in html

<body style="background-color: #fff">
  <!---this will change the body color---!>

</body>
Posted by: Guest on May-06-2020
3

how to change the page background in css

body {
  /* this changes the page's background to green  */
  background-color: green;
}
Posted by: Guest on June-24-2020
5

background color

//javascript type css:
document.body.style.backgroundColor = "blue";
// or inline css:
<div style="background-color: blue;"></div>
Posted by: Guest on July-03-2020

Code answers related to "css change background color of body"

Browse Popular Code Answers by Language