Wednesday, April 4, 2018

drop-shadow versus box-shadow in CSS

How is...

filter: drop-shadow(30px 10px 4px #4444dd);

 
 

...better than:

box-shadow: 30px 10px 4px #4444dd;

 
 

Well this says drop-shadow works better with irregular, not rectangular, shapes.

No comments:

Post a Comment