Home » SVG feOffset Filter

SVG feOffset Filter

by Online Tutorials Library

SVG <feoffset> Filter

SVG <feOffset> element is used to show the drop shadow effect. To show this effect, take an SVG graphic and move it a little bit in the x-y plane.

Example

Test it Now

Explanation

  • The id attribute of <filter> defines a unique name for the pattern.
  • The filter attribute of<rect> element is used to link the element to the”p1″ filter.

You may also like