Tuesday, February 05, 2008

offspring




offspring.js is an interesting little javascript program that adds things like "nth-child" by iterating over the DOM.

It does slow down your site a bit, because it has to iterate over all the elements in the dom, but in most cases, this is less than 500ms, so not so bad.