Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Section bg color cycling
- $('.animated-bg').each(function(){
- var $this = $(this),
- colors = ['#ec008c', '#00bcc3', '#5fb26a', '#fc7331'];
- setInterval(function(){
- var color = colors.shift();
- colors.push(color);
- $this.animate({backgroundColor: color}, 2000);
- },4000);
- });
- <div id="footerwrap" class="purple animated-bg stopsticky" style="background-color: rgb(236, 0, 140);">
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement