SVG <feDropShadow> Filter

You are Here:

What is <feDropShadow> Filter?

The SVG <feDropShadow> filter primitive creates a drop shadow of the input image.

Example

HTML Online Editor
<!DOCTYPE html> <html lang="en-US"> <body> <svg width="135" height="135" xmlns="http://www.w3.org/2000/svg"> <defs> <filter id="point"> <feDropShadow dx="4" dy="8" stdDeviation="4"/> </filter> </defs> <circle cx="60" cy="60" r="60" style="fill:#339933; filter:url(#point);"/> </svg> </body> </html>

Attributes Value

AttributeExplanation
inSpecifies the input for the given filter primitive.
stdDeviationSpecifies the standard deviation for the blur operation.
dxSpecifies a shift along the x-axis on the position of an element or its content.
dySpecifies a shift along the y-axis on the position of an element or its content.

Reminder

Hi Developers, we almost covered 91% of SVG Tutorials with examples for quick and easy learning.

We are working to cover every Single Concept in SVG.

Please do google search for:

Join Our Channel

Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.

This channel is primarily useful for Full Stack Web Developer.

Share this Page

Meet the Author