Source code

Revision control

Copy as Markdown

Other Tools

<svg width="400" height="400">
<mask id="m">
<image x="20" y="20" width="100" height="100"
href="data:image/svg+xml,<svg width='100' height='100' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' fill='red' /></svg>" />
</mask>
<rect mask="url(#m)" x="50" y="50" width="50%" height="50%" fill="black"></rect>
</svg>