hey people I got this code in jQuery:
function onRight() {
$(this).css(
'background',
'linear-gradient(to right, rgb(255, 255, 255), rgb(196, 196, 196)'
);
}
works good but I got a problem, the change is too fast. how can I make it looks like fadeIn? or just use any duration to slow it down?
** cant do it with css because its gradient.
thanks by heart