$('.songs').find('li').each(function(i) { $(this).css({'backgroundColor': 'rgba(240,'+2*i * 2+','+i * 1+',1)'}); });
12 months ago
That. Is. Awesome!
Love this.
(Type looks great too!)
I borrowed this code and worked on it over the last few months, and today I overwrote the copy on my server with a very old version of the code. Luckily I have it on another machine. But still, phooey.
16 days ago
keyboard shortcuts: ← previous shot → next shot L or F like
5 Responses
$('.songs').find('li').each(function(i) {
$(this).css({'backgroundColor': 'rgba(240,'+2*i * 2+','+i * 1+',1)'});
});
12 months ago
That. Is. Awesome!
12 months ago
Love this.
12 months ago
(Type looks great too!)
12 months ago
I borrowed this code and worked on it over the last few months, and today I overwrote the copy on my server with a very old version of the code. Luckily I have it on another machine. But still, phooey.
16 days ago