$('.songs').find('li').each(function(i) { $(this).css({'backgroundColor': 'rgba(240,'+2*i * 2+','+i * 1+',1)'}); });
about 1 year 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.
about 1 month 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)'});
});
about 1 year ago
That. Is. Awesome!
about 1 year ago
Love this.
about 1 year ago
(Type looks great too!)
about 1 year 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.
about 1 month ago