0
A
回答
6
簡單快捷的樣品會是這樣:
i {
display: inline-block;
vertical-align:middle;
width:10px;
height:10px;
border-radius:50%;
background: red;
-webkit-animation: kn 1.6s ease-in-out infinite;
animation: kn 1.6s ease-in-out infinite;
}
i:nth-child(9){
-webkit-animation-delay:0;
animation-delay:0;
}
i:nth-child(8){
-webkit-animation-delay:-0.2s;
animation-delay:-0.2s;
}
i:nth-child(7){
-webkit-animation-delay:-0.4s;
animation-delay:-0.4s;
}
i:nth-child(6){
-webkit-animation-delay:-0.6s;
animation-delay:-0.6s;
}
i:nth-child(5){
-webkit-animation-delay:-0.8s;
animation-delay:-0.8s;
}
i:nth-child(4){
-webkit-animation-delay:-1s;
animation-delay:-1s;
}
i:nth-child(3){
-webkit-animation-delay:-1.2s;
animation-delay:-1.2s;
}
i:nth-child(2){
-webkit-animation-delay:-1.4s;
animation-delay:-1.4s;
}
i:nth-child(1){
-webkit-animation-delay:-1.6s;
animation-delay:-1.6s;
}
@-webkit-keyframes kn {
0% {
opacity: 0.1;
}
50% {
opacity: 1;
}
100% {
opacity:0.1;
}
}
@keyframes kn {
0% {
opacity: 0.1;
}
50% {
opacity: 1;
}
100% {
opacity:0.1;
}
}
<div>
<i></i>
<i></i>
<i></i>
<i></i>
<i></i>
<i></i>
<i></i>
<i></i>
<i></i>
</div>
玩它讓你想要的時間。
相關問題
- 1. 動畫圖像向左像幻燈片
- 2. GIF圖像在背景圖像屬性需要停止動畫
- 3. 我需要fadeIn中的flexslider標題和幻燈片動畫中的圖像
- 4. 圖像動畫像
- 5. iPad需要啓動圖像
- 6. 需要生成動畫像iicd.ac.in
- 7. 與遊俠的變量重要性
- 8. UIView動畫像對話氣泡
- 9. 如何在libgdx遊戲中像泡泡射擊遊戲那樣生泡泡
- 10. iPhone UIImageView與動畫圖像需要沿着路徑移動
- 11. 動畫圖像
- 12. 動畫圖像
- 13. 檢測圖像中的漫畫對話泡泡區域
- 14. 需要動畫時獲得圖像的幀座標
- 15. 導致內存錯誤的動畫需要幾個大圖像
- 16. 幻燈片放映需要上一個圖像按鈕的多個圖像。
- 17. 動畫圖像,但圖像不移動
- 18. 需要從圖像
- 19. 對圖像動畫的圖像jquery
- 20. 如何將泡泡顯示到圖像使用壁畫?
- 21. jquery創建簡單的圖像幻燈片動畫 - 淡入和淡出圖像
- 22. 動畫滾動的圖像
- 23. 爲什麼動畫圖像需要片刻清晰顯示?
- 24. 需要幫助使用JavaFX在HBox中設置動畫圖像
- 25. IOS需要旋轉圖像,並保持它在那裏,動畫
- 26. 在UIImageView中動畫圖像需要太多內存
- 27. Android:動畫圖像?
- 28. Android圖像動畫
- 29. Android圖像動畫
- 30. J2me動畫圖像
哇,真的很棒。你可以做一件事。可以把它改成上圖中的藍色嗎?謝謝。 – Sampath 2015-03-25 08:36:41
只需將背景從紅色更改爲您的顏色 - 我沒有可用的colorpicker。騎士也有紅燈:) – easwee 2015-03-25 08:38:54
非常感謝:) – Sampath 2015-03-25 08:39:32