我想要获得弹跳鼠标动画以在我的网站上工作。 完全相同的代码可以在另一个网站上使用,而在我的网站上它只是不会做任何事情。无法获取CSS3动画在我的网站上工作
这里的CSS:
.mouse {
display: block;
margin: 0 auto;
text-align: center;
width: 100%;
font-size: 32px;
color: #fff;
z-index:9999;
position: absolute;
color: #e8e8e8;;
bottom: 240px;
}
.mouse i {
-webkit-animation: todown 1.2s infinite linear;
transition: all 0.3s ease-in-out;
}
的HTML:
<a href="#x11" class="mouse">
<i class="fa fa-angle-double-down icon-option"></i>
</a>
在这个网站上,你可以看到我试图创建下滚图标:http://noxxar.com/demo/uralco/
'todown'的关键帧在哪里? – APAD1 2015-03-30 20:00:46
另外,您需要查看用于跨浏览器动画兼容性的正确前缀。 '-moz-','-webkit -'等。 – Adjit 2015-03-30 20:02:22
关键帧?我不知道如何设置这些。 我会添加其他人以及它的工作(moz webkit等) – imjp 2015-03-30 20:25:49