Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
.drop-shadow {
filter: drop-shadow(2px 4px 8px hsla(0deg, 0%, 0%, 0.5))
Copy link

JulaineScott commented Jul 30, 2020

Will work on transparent images to put the shadow on the image, not the image's artboard. Better than box-shadow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment