Chce by container byl wyrownany i obracal sie w miejscu. POMOCY
#container{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%, -50%);
width:100px;
height:100px;
background:lime;
border-radius:50%;
animation:animation 5s infinite;
}
span{
position:absolute;
width:15px;
height:15px;
border-radius:50%;
background:white;
}
span:nth-child(1){
top:50%;
left:20%;
transform: translate(-50%, -50%);
}
span:nth-child(2){
top:50%;
left:50%;
transform: translate(-50%, -50%);
}
span:nth-child(3){
top:50%;
left:80%;
transform: translate(-50%, -50%);
}
@keyframes animation{
from{transform:rotate(0deg)}
to{transform:rotate(360deg)}
}