+ 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. --!?

21st Jun 2019, 10:18 PM
Ginfio
Ginfio - avatar
2 Answers
+ 25
Try this Box-shadow: 0 0 0 10px black; The 4th value ( 10px) controls the spread of shadow. You probably not using it
22nd Jun 2019, 5:17 AM
Mitali
Mitali - avatar
22nd Jun 2019, 6:08 AM
CalviŐ˛
CalviŐ˛ - avatar