Skip to content

Instantly share code, notes, and snippets.

@wesbos
Created January 30, 2017 17:57
Show Gist options
  • 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