The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Tricky :nth-child question Re: [Solved] Tricky :nth-child question

Chris Coyier

I can’t say offhand, you’d have to run some tests. I’ve seen lots of tests where the equivalent jQuery function is faster than the CSS selector, so I wouldn’t be surprised at all if .eq() is faster.

cpj238 has a smart point too, if you use the CSS selector in jQuery, it will work.