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

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes