box-shadow vs filter: drop-shadow

Avatar of Chris Coyier
Chris Coyier on

Try Mailchimp today. MailChimp Tracking Pixel

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 →