12 lines
398 B
XML
12 lines
398 B
XML
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||
|
<defs>
|
||
|
<rect id="rect" width="150" height="150"/>
|
||
|
</defs>
|
||
|
<clipPath id="clip2">
|
||
|
<use xlink:href="#rect"/>
|
||
|
</clipPath>
|
||
|
<clipPath id="clip1" clip-path="url(#clip2)">
|
||
|
<use xlink:href="#rect" transform="translate(50, 50)"/>
|
||
|
</clipPath>
|
||
|
<rect width="200" height="200" fill="green" clip-path="url(#clip1)"/>
|
||
|
</svg>
|