免費論壇 繁體 | 簡體
公告:SCLUB雲端專屬主機己開放租用
分享
返回列表 下一主题 ›› ‹‹ 上一主题537 | 0 发帖

SCLUB/Discuz! 7.2论坛大版块图标旋转代码

打开css_common模板
在最下面加上
  1. .list th img{ /* 1st set of icons. Rotate them 9999deg onmouseover and out */
  2. -moz-transition: all 0.5 ease-in-out;
  3. -webkit-transition: all 0.5 ease-in-out;
  4. -o-transition: all 0.5 ease-in-out;
  5. -ms-transition: all 0.5 ease-in-out;
  6. transition: all 0.5 ease-in-out;
  7. }
  8. .list th img:hover{
  9. -moz-transform: rotate(-80deg);
  10. -webkit-transform: rotate(-80deg);
  11. -o-transform: rotate(-80deg);
  12. -ms-transform: rotate(-80deg);
  13. transform: rotate(-80deg);
  14. }
  15. .list th img{ /* 2nd set of icons. Rotate them 60deg onmouseover and out */
  16. -moz-transition: all 0.5 ease-in-out;
  17. -webkit-transition: all 0.5 ease-in-out;
  18. -o-transition: all 0.5 ease-in-out;
  19. -ms-transition: all 0.5 ease-in-out;
  20. transition: all 0.5 ease-in-out;
  21. }
  22. .list th img:hover{
  23. -moz-transform: rotate(9999deg);
  24. -webkit-transform: rotate(9999deg);
  25. -o-transform: rotate(9999deg);
  26. -ms-transform: rotate(9999deg);
  27. transform: rotate(9999deg);
  28. }
  29. .list th img{ /* 3rd set of icons. Rotate them -9999deg onmouseover ONLY. Note where the "transition prop is added */
  30. }
  31. .list th img:hover{
  32. -moz-transition: all 1s ease-in-out;
  33. -webkit-transition: all 1s ease-in-out;
  34. -o-transition: all 1s ease-in-out;
  35. -ms-transition: all 1s ease-in-out;
  36. transition: all 1s ease-in-out;
  37. -moz-transform: rotate(9999deg);
  38. -webkit-transform: rotate(9999deg);
  39. -o-transform: rotate(9999deg);
  40. -ms-transform: rotate(9999deg);
  41. transform: rotate(9999deg);
  42. }
复制代码

分享到: QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
欢迎来到9528虚拟世界分享圈!Http://9528.gain.tw
返回列表 下一主题 ›› ‹‹ 上一主题537 | 0