box-shadow vs filter: drop-shadow

Avatar of Chris Coyier
Chris Coyier on

DigitalOcean provides cloud products for every stage of your journey. Get started with $200 in free credit!

Lennart Schoors shares that filter: drop-shadow(); isn’t just box-shadow in disguise, it’s way more useful. Essentially, it follows the rendered shape of any element (including pseudos). This makes shapes like these even more compelling than they already were, eh?

Direct Link →