html,body { background-color: red; }

background color css

body { /* this changes the page's background to green */ background-color: green; }

how to change the page background in css

div { background-color: green; }

turn a div green

body{ background: lightblue; }

how to change background color in css

/* Color (Example: red): */ html,body { background-color: red; } /* Image (Example: your.picture): */ html,body { background-image: url("your.picture"); }

background css

Similar Code Examples