Can someone give me an idea how to colorate the circles behind the airplaine??
Please check this jsfiddle link below
Code:
.main {
display: flex;
position:relative;
border: 1px solid green;
margin: 100px;
overflow:hidden;
}
.plane, .item {
width: 50px;
height: 50px;
display:flex;
align-items: center;
justify-content: center;
}
.item {
margin: 0 5px;
}
.plane {
position:absolute;
-webkit-animation: mymove 3s infinite; /* Safari 4.0 - 8.0 */
animation: mymove 3s infinite;
}
.fa-circle {
font-size:10px;
}
.fa-plane {
transform: rotate(45deg);
color:red;
}
@-webkit-keyframes mymove {
from {left: 0px;}
to {left: 420px;}
}
@keyframes mymove {
from {left: 0px;}
to {left: 420px;}
}
@-webkit-keyframes coloration {
from {color: orange;}
to {color: green;}
}
@keyframes coloration {
from {color: orange;}
to {color: green;}
}
Link: https://jsfiddle.net/b3r51n6z/4/
I want to colorate every circle passed by the plane icone to orange