开发者

jquery image anime

开发者 https://www.devze.com 2023-02-04 03:05 出处:网络
On a div, I\'ll like that the background image to move continuously from开发者_如何学Go top to bottom.

On a div, I'll like that the background image to move continuously from开发者_如何学Go top to bottom.

Is that possible by using jQuery? How?


Queness seems to be what you're after, it does vertical, horizontal and diagonal background image movement.

The attached link should have everything you need to get you going.


I think you could go with a $("div").animate({backgroundPosition: "100px 1000px"}, 3000); or something similar


http://api.jquery.com/animate/

hope this helps

0

精彩评论

暂无评论...
验证码 换一张
取 消