14.3 Gamma correction CSS properties allow authors to specify the foreground color and background of an element. Backgrounds may be colors or images. Background properties allow authors to position a background image, repeat it, and declare whether it should be fixed with respect to the viewport or scrolled along with the document. See the section on color units for the syntax of valid color values. Border colors and styles are set with the border properties .
Margins are always transparent so the background of the parent box always shines through.
Background properties are not inherited, but the parent box's background will shine through by default because of the initial 'transparent' value on 'background-color' . The background of the box generated by the root element covers the entire canvas . For HTML documents, however, we recommend that authors specify the background for the BODY element rather than the HTML element. If the resulting value is 'transparent', the rendering is undefined. My background is marble.