This forum is now read-only. Please use our new forums at

Sun, Earth, and Code Forum

View Course » View Exercise

572 points
Submitted by
almost 3 years ago

my earth's box-shadow keeps on making a black square around earth. Can anyone help that not happen?

here's my code:

#earth {
position: fixed;
top: 5%;
left: 9%;
height: 50px;
width: 50px;
box-shadow: 0 0 30px blue;

0 votes


Make sure you have this part included:

border-color: green;
border-width: 10px;
border-style: solid;
border-radius: 50%;

Most important is the border-radius, and that it is set to at least 50%

281 points
Submitted by
over 2 years ago