Created
October 8, 2017 02:26
-
-
Save andrejewski/da57a608cdb6001d30f307ec8fc2e5b8 to your computer and use it in GitHub Desktop.
Add an annoying particle on the screen of a webpage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| document.body.appendChild((function () { | |
| var e = document.createElement('div'); | |
| e.style = 'background-color: #000; position: fixed; right: 30vw; top: 40vh; width: 2px; height: 4px'; | |
| return e; | |
| })()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment