CSS Tools
CSS Drop Shadow Generator
Set offsets, blur, colour and opacity and copy a drop-shadow filter that follows transparent edges, unlike box-shadow.
Set offsets, blur, colour and opacity and copy a drop-shadow filter that follows transparent edges, unlike box-shadow.
filter: drop-shadow() draws a shadow around the visible shape of an element. Unlike box-shadow, it respects transparent areas, so it works well on PNG logos, SVG icons and clipped shapes.
Set the offsets, blur, colour and opacity and copy the line.
filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.4));
Box-shadow follows the rectangular box. Drop-shadow follows the actual painted pixels, including transparent holes and curves.
No. It only has offsets, blur and colour.
Clip-path cuts off anything outside the shape, including a shadow on the same element. Put the filter on a wrapper element instead.
Yes. Chain several drop-shadow() functions in one filter, separated by spaces.