blob: a689a06bdb6115d81665adfc2241c22390da272f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<svg xmlns="http://www.w3.org/2000/svg"
width="100"
height="100">
<rect width="100"
height="100"
x="0"
y="0"
fill="black" />
<rect clip-path="url(#clip)"
width="100"
height="100"
x="0"
y="0"
fill="red" />
<defs>
<clipPath id="clip" transform="translate(25, 25)">
<rect width="50" height="50" x="0" y="0"/>
</clipPath>
</defs>
</svg>
|