Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- setTimeout(function(){document.getElementsByTagName('body')[0].id = 'html1';
- document.getElementById('html1').style.transition = '2s';
- window.setInterval(function(){
- var rand = Math.floor((Math.random() * 100) + 1);
- document.getElementById('html1').style.transform = 'rotate('+rand+'deg)';
- }, 2000);},20000)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement