<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"> | |
<defs> | |
<filter id="offset1"> | |
<feOffset in="SourceGraphic" dx="10" dy="10" /> | |
</filter> | |
<filter id="offset2"> | |
<feOffset in="SourceGraphic" dx="-10" dy="-10" /> | |
</filter> | |
</defs> | |
<rect x="10" y="10" width="100" height="100" fill="none" stroke="black" /> | |
<g filter="url(#offset2)"> | |
<g filter="url(#offset1)"> | |
<rect x="10" y="10" width="100" height="100" fill="rgb(0,128,0)" /> | |
</g> | |
</g> | |
</svg> |