Michelle Barker 8/4/2020

Drop-Shadow: The Underrated CSS Filter

Read Original

This technical CSS article details the drop-shadow filter, contrasting it with the common box-shadow property. It explains how drop-shadow uses an element's alpha mask to create shadows for non-rectangular shapes (like PNGs/SVGs), works with clipped or masked elements, and perfectly shadows grouped components. It includes practical demos and notes on performance.

Drop-Shadow: The Underrated CSS Filter

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser