Skip to content

Instantly share code, notes, and snippets.

@enricopolanski
Created February 18, 2018 13:33
Show Gist options
  • Save enricopolanski/d5ff9faa6f76dae973fb93c91be0686d to your computer and use it in GitHub Desktop.
Save enricopolanski/d5ff9faa6f76dae973fb93c91be0686d to your computer and use it in GitHub Desktop.
let delta = 0;
window.setInterval(()=>{
delta++;
first.style.position = delta + "px";
}, 10);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment