Skip to content

Instantly share code, notes, and snippets.

@charisTheo
Created September 4, 2019 19:15
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 charisTheo/91e25af027999d831f79c32a47655e23 to your computer and use it in GitHub Desktop.
Save charisTheo/91e25af027999d831f79c32a47655e23 to your computer and use it in GitHub Desktop.
element.style.cssText += "left: " + left + "px; top: " + top + "px;"; // triggers reflow once
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment