blob: c69a013b252d199a999ca6a75b39a282bec5b0b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg">
<defs>
<clipPath clipPathUnits="objectBoundingBox" id="clipPathMask" transform="scale(0.01 0.005)">
<rect width="100" height="100"/>
<rect id="r" width="100" height="100" display="none"/>
</clipPath>
</defs>
<rect fill="lime" height="100%" width="100%"/>
<rect fill="red" x="102" y="102" height="96" width="96"/>
<rect transform="translate(100, 100)" clip-path="url(#clipPathMask)" fill="lime" y="-100" height="200" width="100"/>
</svg>
|