Make an element flash


/ Published in: jQuery
Save to your folder(s)

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


You need to login to view comments.