I'm trying to apple shadow to png with transparency. Is there a way make a shadow only under the icon, not under the full box?
do you try it with an svg?
For this, you’ll want to use the drop shadow filter, which uses bitmap data to create shadows https://developer.mozilla.org/en-US/docs/Web/CSS/filter
per Arron J Hunt's tip: