Is it possible to change css for a div on slick.js slider change? Basically if the slider autoplays or from button click I'd like to cycle through an array of colors and set the background color of .content to that color. Am I being too crazy?
var colors = ['#576986', '#D0D5D6', '#DFDEE5'];
$('.content').css({'background': current i++});
Check out the demo jsfiddle
Any ideas? :)