Skip to content

Instantly share code, notes, and snippets.

@bezenson
Created August 29, 2017 12:57
Show Gist options
  • Save bezenson/9e0a77c19af469054f34b3d286a9cb5b to your computer and use it in GitHub Desktop.
Save bezenson/9e0a77c19af469054f34b3d286a9cb5b to your computer and use it in GitHub Desktop.
this.point = document.createElement('div');
document.body.appendChild(this.point);
this.point.style.width = '10px';
this.point.style.height = '10px';
this.point.style.backgroundColor = 'red';
this.point.style.borderRadius = '50%';
this.point.style.position = 'absolute';
this.point.style.zIndex = '999999';
this.point.style.left = '0px';
this.point.style.top = '0px';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment