When you work with transparent images you can use the drop-shadow
filter function to create a shadow on the image’s content, instead of box-shadow
property which creates a rectangular shadow behind an element’s entire box.
DropShadow and Box Shadow

Categories: CSS
Leave a Reply