box-shadow vs filter: drop-shadow

Avatar of Chris Coyier
Chris Coyier on

DigitalOcean joining forces with CSS-Tricks! Special welcome offer: get $100 of 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 →