Random colors for targeting CSS property. Colors can be randomized using brightness of the color value.
Here we setup random colors to two different HTML element.
var stimed = new $.stimed({
timeTarget: '.time',
fps: 30,
precise: true,
speedUp: 500
});
stimed.style.preset({
preset: 'random colors',
target: '.time',
delay: 5000
});
stimed.style.preset({
preset: 'random colors',
target: 'main',
property: 'background-color',
delay: 86400/12,
brightness: 100
});