css changing background color code example
Example 1: how to change the page background in css
body {
/* this changes the page's background to green */
background-color: green;
}
Example 2: css change background color of page
/* Use the following code: */
html {background-color: #fefefe;}
/* You can change the hexedecimal code to RGB, RGBA, name & more colors!*/
Example 3: how to change background color in css
body{
background: lightblue;
}
Example 4: css background color
body {background-color: coral;}