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

Sun, Earth, and Code Forum

View Course » View Exercise

572 points
558c3b9fe39efe66bc000305_548299724
Submitted by
Ultron2
over 2 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

permalink

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
2b45546897bc11bb1e505bfa5c82be54?s=140&d=retro
Submitted by
Hadde
over 2 years ago