<!DOCTYPE HTML>
<svg height="300" width="300">
<defs>
<filter height="100px" width="100px" y="-1" x="-1" id="filter">
<feOffset dy="2" dx="2" in="SourceGraphic" result="offOut"></feOffset>
</filter>
</defs>
<rect filter="url(#filter)" width="100" height="100" fill="green"></rect>
</svg>