<html> <head> </head> <body> <a id="roll" class="-cta">Крутить</a> <script> document.getElementById('roll').onclick = function(){ setTimeout(function(){ document.getElementById('win').removeAttribute('style'); },5000); }; </script> </body> </html>