Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<title>CSS Reference: mask-image</title>
<style>
#ref {
position: absolute;
width: 200px;
height: 200px;
background: green;
}
</style>
<p>The test passes if there is a green square and no red below.</p>
<div id="ref"></div>