+ 4
[SOLVED] How to show drop-shadow for clipped image?
My current scripts : .stone{ width:16px; width:16px; clip-path:circle(50% at 50% 50%); position:absolute; } .soloStone{ filter:drop-shadow(0px 0px 5px #fff); } The circular images have no drop-shadow visual effect; However if i remove the clip-path, I can see the drop-shadow around the square boundary of the images.
5 Respostas
+ 2
Make .soloStone as parent of img tag
https://code.sololearn.com/Ww44mpGHR6oT/?ref=app
+ 2
But my code is my contest code🤔
Isn't the part in my question enough to understand my situation?
+ 1
Satnam Singh i changed line 758 to filter:drop-shadow(5px 5px 5px #fff); still no visible shadow😔