VOOZH about

URL: https://www.geeksforgeeks.org/html/svg-feoffset/

⇱ SVG <feOffset> - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

SVG <feOffset>

Last Updated : 31 Mar, 2022

The SVG feOffset element is used to create drop shadow effects. To create drop shadow take an SVG graphic (image or element) and move the XY coordinates.

Syntax:

<feDropShadow dx="" dy="" stdDeviation=""/>

Attributes:

  • dx: defines x offset
  • dy: defines y offset
  • stdDeviation: defines standard deviation for the blur operation.

Example:

Output:

👁 Image
Example: Shadow without blur. Output: 👁 Image
Comment
Article Tags: