Skip to content

Instantly share code, notes, and snippets.

@wesbos
Created January 30, 2017 17:57
Show Gist options
  • Star 22 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save wesbos/9e2216d004215fa39af0eec63dc0aba2 to your computer and use it in GitHub Desktop.
Save wesbos/9e2216d004215fa39af0eec63dc0aba2 to your computer and use it in GitHub Desktop.
// 1. Visit a news website like cnn.com
// 2. paste this into your console
setInterval(() =>
document.querySelectorAll('p,img,a,button,h1,h2,h3,span')
.forEach(x=>x.style=`transform:rotate(${Math.random()*777}deg) scale(${Math.random()* 3}); transition:all .5s`)
, 500);
// 3. feel a lil bit better 😘
@emalgholzad
Copy link

AWESOME! LOL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment