Skip to content

Instantly share code, notes, and snippets.

@chinchang
Last active December 11, 2015 21:59
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 chinchang/4666645 to your computer and use it in GitHub Desktop.
Save chinchang/4666645 to your computer and use it in GitHub Desktop.
Make your screen wobble!
/**
* Run this in your developer console on a website with jQuery on it
*/
(function(){$('head').append('<link type="text/css" rel="stylesheet" href="http://daneden.me/animate/animate.css">');
var d=$('div'),i=d.length;while(i--){
(function(){
var e=d[i];
setTimeout(function() { $(e).addClass('animated wobble'); }, i%80*400);
})();
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment