<svg width="1000" height="500">
  <filter id="operator" width="200" height="200">
    <feOffset in="SourceGraphic" dx="60" dy="60" />
    <feComposite in="SourceGraphic" in2="offset" operator="over" />
  </filter>
  <rect x="100" y="100" width="100" height="100" fill="red" filter="url(#operator)"></rect>
</svg>
body {
  background: green;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.