1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<!doctype html> <meta charset="utf-8"> <title>Corner Clipped Background Color</title> <style> html { background-color: green; } #a { top: 20px; left: 20px; position: absolute; width: 20px; height: 20px; background-color: black; } </style> <div id="a"></div>