SVG <feDropShadow> Filter

What is <feDropShadow> Filter?

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


HTML Online Editor
<!DOCTYPE html> <html lang="en-US"> <body> <svg width="135" height="135" xmlns=""> <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

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.

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