Make an element flash


/ Published in: jQuery

Add class .green to class .payment-container and make it flash every 3 seconds


Copy this code and paste it in your HTML
  1. flash = setInterval(function(){$('.payment-container').toggleClass('green');}, 300);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.