-3
A
回答
0
我不是100%確定blogger dynamic view template
是什麼,但是如果您可以編寫自定義CSS3
+ HTML
標記,則以下代碼應該足夠了。
它所做的基本上是旋轉圖像無限的時間,同時使圖像可點擊的每一個圓圈圖標。 :
<html>
<head>
<style type="text/css">
@keyframes myfirst
{
from {transform: rotate(0deg);}
to {transform: rotate(360deg);}
}
img {
animation-name: myfirst;
animation-duration: 5s;
animation-timing-function: linear;
animation-delay: 0s;
animation-iteration-count: infinite;
animation-direction: normal;
animation-play-state: running;
}
</style>
</head>
<body>
<img src="pic.png" usemap ="#planetmap"/>
<map name="planetmap">
<area shape="circle" coords="67,95,40" href="example.com"/>
<area shape="circle" coords="177,60,40" href="example.com"/>
<area shape="circle" coords="244,150,40" href="example.com"/>
<area shape="circle" coords="69,211,40" href="example.com"/>
<area shape="circle" coords="180,247,40" href="example.com"/>
</map>
</body>
</html>
特別提示:請到MDN兼容性信息,如CSS3還沒有穩定下來。
相關問題
- 1. 如何在旋轉的圓形視圖中設置圖像?
- 2. 旋轉圓形圖像
- 3. 如何在博客動態視圖模板上獲取小部件
- 4. 在Django模板中旋轉的圖像
- 5. 自動旋轉模態視圖
- 6. 旋轉視圖動態
- 7. 如何將圖像放在圓形圖像視圖中
- 8. 如何在圓形軌跡上移動uview?
- 9. 如何在不旋轉圖像的情況下以圓形運動移動圖像?
- 10. Android:圓形菜單動態旋轉
- 11. 圓形軌跡在畫布上淡出
- 12. 帶圓點的旋轉子圖形
- 13. 在android中的圓形/旋轉撥號視圖
- 14. 我的模態視圖不旋轉
- 15. Javascript Canvas在圓軸上旋轉圖像
- 16. 如何創建圓形圖庫視圖/圖像切換器/圖像視圖...?
- 17. 如何旋轉並縮放滾動視圖中的圖像?
- 18. 如何做圓形滾動視圖?
- 19. Matplotlib生成這樣的圓形圖嗎?
- 20. 如何在D3js中動態地將圖像添加到圓形
- 21. 定位圓形視圖中的一個div內的圖像圖像?怎麼樣?
- 22. 圓形圖像?
- 23. 拖動在圓形內移動圖像(圓形移動)
- 24. 在iPad上旋轉時,如何阻止模態視圖消失?
- 25. 如何移動的UIView這個軌跡
- 26. 圓形圖標圖像模糊
- 27. 旋轉木馬或旋轉木馬或在同樣的活動軌道移動圖像
- 28. 使用Coltrane博客模板的通用視圖的問題
- 29. 自動旋轉圖形
- 30. 在JAVA中的圓形運動圖像
請寫下你到目前爲止嘗試過的東西。 –
我試過HTML CSS代碼,但它沒有工作 –
[位置圖標放入圓形](http://stackoverflow.com/questions/12813573/position-icons-into-circle) – madalinivascu