Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!doctype html>
<link rel="author" href="" title="Ana Tudor">
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="author" href="https://mozilla.org" title="Mozilla">
<link rel="match" href="mask-image-clip-exclude-ref.html">
<meta name="fuzzy" content="maxDifference=0-1; totalPixels=0-2000">
<title>mask-image + mask-clip + mask-composite: exclude on different background boxes</title>
<style>
div {
display: inline-block;
width: 100px;
height: 100px;
padding: 10px;
background: linear-gradient(green, green) border-box;
mask: linear-gradient(red, red) content-box exclude, linear-gradient(red, red);
}
</style>
<div></div>