concept
Paint — CSS reference
Painting describes visual drawing operations such as backgrounds, borders and text. Changing a background can change appearance without altering box geometry. The pixel sample verifies the appearance, not a particular paint scheduling strategy.
Formal Syntax & Structure
css syntaxcss
background-color: rgb(0,128,128);Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>paint</title><style>body{margin:8px;font:16px/24px sans-serif;color:black;background:white}#a{box-sizing:border-box}#a{width:100px;height:70px;background:rgb(0,128,128)}</style><body><div id="a" aria-label="Teal swatch"></div></body></html>