![How to not show shadow through transparent shape? can we improve this? - Share an idea - Figma Community Forum How to not show shadow through transparent shape? can we improve this? - Share an idea - Figma Community Forum](https://europe1.discourse-cdn.com/figma/optimized/2X/2/2bfd2116b75a155bb1b60eb34ed7a36c3ebf5f6c_2_1023x342.png)
How to not show shadow through transparent shape? can we improve this? - Share an idea - Figma Community Forum
![Josh W. Comeau on X: "🔥 `box-shadow` doesn't work well with transparent images. `filter: drop-shadow` does what you'd expect, adding a shadow to the image's contents. .my-img { filter: drop-shadow(1px 2px 3px Josh W. Comeau on X: "🔥 `box-shadow` doesn't work well with transparent images. `filter: drop-shadow` does what you'd expect, adding a shadow to the image's contents. .my-img { filter: drop-shadow(1px 2px 3px](https://pbs.twimg.com/media/EeLW4QJWoAAgdng.png)
Josh W. Comeau on X: "🔥 `box-shadow` doesn't work well with transparent images. `filter: drop-shadow` does what you'd expect, adding a shadow to the image's contents. .my-img { filter: drop-shadow(1px 2px 3px
![css - How do I eliminate a gap between a box-shadow and a div background when using partially transparent rgba() values - Stack Overflow css - How do I eliminate a gap between a box-shadow and a div background when using partially transparent rgba() values - Stack Overflow](https://i.stack.imgur.com/yEDkp.png)
css - How do I eliminate a gap between a box-shadow and a div background when using partially transparent rgba() values - Stack Overflow
![How do i get a shadow that only goes around the transparent part of my .png? I think i have to use drop-shadow but i don't quite understand how it works here How do i get a shadow that only goes around the transparent part of my .png? I think i have to use drop-shadow but i don't quite understand how it works here](https://preview.redd.it/how-do-i-get-a-shadow-that-only-goes-around-the-transparent-v0-kjw2szkjg2ea1.png?width=640&crop=smart&auto=webp&s=992de50c10a2d902cb9d53157b24b264f54f7532)