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

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

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
76c6b206f80db1485b691213a5c2aa79?s=140&d=retro
Submitted by
Hadde_5586ac82937676c1be000196_delet
about 3 years ago