1
有人可以給我一個想法如何coloured在airplaine後面的圈子?Pure css:Colorate divs後面的特殊格
請檢查下面
這段代碼的jsfiddle鏈接:
.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;}
}
鏈接:https://jsfiddle.net/b3r51n6z/4/
我想colorate由平面ICONE傳遞到橙色每圈