We can use box-shadow to add shadows to our HTML elements. But did you know that we can achieve the same using drop-shadow filter. You simply have to pass the shadow value in the drop- shadow function. If we were to add box-Shadow on a PNG image you will see the shape of box- shadow is rectangular/box.

1m read timeFrom dev.to
Post cover image
Table of contents
Shuvo FollowWas it helpful? Support me on Patreon
3 Comments

Sort: