给Emlog博客系统添加图片抖动的JS代码

0.0/0人
免费

更新时间:2022-11-26 01:24:37

所属分类:其他资源

评论回复:0

 

暂无演示 下载权限

1.首先我们找到自己的模板,EM路径为

EMLOG模板位置在:/content/templates/你的模板名/

2.找到我们模板的主要css文件,放到css的最后面即可,一般为style.css

但也有不一样的,但是只要放到主要的css里面就行了

  1. img:hover {
  2. -webkit-animation:sucaijiayuan 1s .1s ease both;
  3. -moz-animation:tada 1s .1s ease both;
  4. }
  5. @-webkit-keyframes sucaijiayuan {
  6. 0% {
  7. -webkit-transform:scale(1)
  8. }
  9. 10%, 20% {
  10. -webkit-transform:scale(0.8) rotate(-2deg)
  11. }
  12. 30%, 50%, 70%, 90% {
  13. -webkit-transform:scale(1.1) rotate(2deg)
  14. }
  15. 40%, 60%, 80% {
  16. -webkit-transform:scale(1.1) rotate(-2deg)
  17. }
  18. 100% {
  19. -webkit-transform:scale(1) rotate(0)
  20. }

百度
- MB

相关推荐

首页 导航 会员 客服 微信
客服QQ 客服微信 客服邮箱 TOP