Skip to content

Instantly share code, notes, and snippets.

@IvanaSays
Last active August 9, 2017 13:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IvanaSays/3dec447018385cb9a4cd6af770104085 to your computer and use it in GitHub Desktop.
Save IvanaSays/3dec447018385cb9a4cd6af770104085 to your computer and use it in GitHub Desktop.
10 - Performant Animations
boxes.forEach(box => {
box.style.transform = “translateY(“ + wrapper.getBoundingClientRect().height + “px)”;
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment