How to use: Upload a PNG with transparency or use the preview box below. Adjust sliders to see drop-shadow in action.
Generate with the CSS Drop Shadow Filter Generator in three easy steps:
filter: drop-shadow() follows the exact shape of the element including any transparent areas, so it works perfectly with PNG images that have transparent backgrounds or elements with border-radius. box-shadow creates a rectangular shadow around the element's bounding box regardless of transparency.
Yes! Upload a PNG image with transparent background and the drop-shadow will follow the image's actual shape, not its rectangular bounding box. This is the main advantage over box-shadow.
Click "Copy CSS" to copy the filter property code. Paste it directly into your CSS stylesheet. Example: filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.5));
Yes, completely free! No registration required, all processing happens in your browser.