HTML CSS examples for CSS Property:background-color
Override Background Color
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> * {<!--from www. j a v a2s . co m--> margin:0px; padding:0px; background-color:#F6F6F1; } body { width:800px; margin-left:auto; margin-right:auto; } div { background-color:red; } h1 { background-color:transparent; } </style> </head> <body> <div id="header"> <h1>Hello!</h1> </div> <div id="content"> </div> <div id="footer"></div> </body> </html>