How to reinforce pseudo css rules
- by danwoods
Is there anyway to reinforce pseudo css rules? ie:
I have a listing of divs (playlist) which I color with the following rules:
#playlist .playlist_item {
background: #d6d6d6;
}
#playlist .playlist_item:nth-child(odd) {
background: #b3b3b3;
}
Now, when a song is playing, I use setInterval and JQuery's .animate function to pulse the…