Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Backgrounds and Borders Reference: background-clip - content-box keyword value</title>
<style>
div {
background-color: green;
height: 100px;
left: 30px;
position: relative;
top: 30px;
width: 100px;
}
</style>
<body>
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div></div>
</body>