Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/75.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jquery css3动画的视差不工作_Jquery_Parallax - Fatal编程技术网

Jquery css3动画的视差不工作

Jquery css3动画的视差不工作,jquery,parallax,Jquery,Parallax,我有一个关于动画图像视差的问题(使用css3) 在本例中,球与背景图像一起滚动(比背景图像慢),但企鹅不滚动(动画) 有人能帮我吗 提前谢谢 .hi { width: 50px; height: 72px; background-image: url("http://cssdeck.com/uploads/media/items/9/9fVQoLD.png"); margin: 0 auto; -webkit-animation: wink .8s s

我有一个关于动画图像视差的问题(使用css3)

在本例中,球与背景图像一起滚动(比背景图像慢),但企鹅不滚动(动画)

有人能帮我吗

提前谢谢

.hi {
    width: 50px;
    height: 72px;
    background-image: url("http://cssdeck.com/uploads/media/items/9/9fVQoLD.png");
    margin: 0 auto;

    -webkit-animation: wink .8s steps(10, end) infinite;
    -moz-animation: wink .8s steps(10, end) infitive;
}