How to make a box-shadow around a circular png images?

Hello. I have a png picture, which shows a circle and a transparent background. Trying to make her box-shadow, but this property is applied around the whole image, ie shadow square and surrounds a transparent background too. Please tell me whether it is possible to solve somehow this problem, to box-shadow skirted only the visible part of the image?
July 2nd 19 at 14:07
2 answers
July 2nd 19 at 14:09
border-radius: 50%;
July 2nd 19 at 14:11
Hi, try to add border-radius: 50%;
Tried. The borders of the image are cut. - Wilhelm_Marquardt commented on July 2nd 19 at 14:14
: Then add border: 0.5 px solid #fff; - Celestino_Roh commented on July 2nd 19 at 14:17

Find more questions by tags PNGCSSHTML