I want to add a shadow to pngs with transparency.
Automatically this meant box-shadow is out - the shadow is rectangular/around the bounding box of the image.
Also tried drop-shadow:
-webkit-filter: drop-shadow(0px 0px 250px rgba(255, 255, 255, 0.4));
filter: drop-shadow(0px 0px 250px rgba(255, 255, 255, 0.4));
It looks great but the performance, particularly on Chrome, is very slow.
The only alternative I know of is to add the shadow within the image itself, however the shadow has a wide spread (so the image size is huge) and with compression it would look awful.
Are there any other options/suggestions?