+ 3
CSS - box-shadow on circle doesn't cover all around. Is there a fix?
When you make an element border radius 50%, it makes it a circle. Right! And when I try to add a box-shadow, it only covers the ipposite sides. Example: right side and left side only- doesn't cover top and bottom. --!?
2 Antworten
+ 25
Try this
Box-shadow: 0 0 0 10px black;
The 4th value ( 10px) controls the spread of shadow. You probably not using it