Skip to content

Instantly share code, notes, and snippets.

@danhauk
Last active April 18, 2020 21:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save danhauk/5e5d903fafcf4cd42020 to your computer and use it in GitHub Desktop.
Save danhauk/5e5d903fafcf4cd42020 to your computer and use it in GitHub Desktop.
Continuous conveyor belt animation
(function conveyorLoop() {
$('.big-spam-sorter--comments-left, .big-spam-sorter--comments-right').animate({
'background-position-x': '+=102'
}, 8000, 'linear', conveyorLoop);
}());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment