View Single Post
03-19-2012, 01:52 AM
#1
Dan is offline Dan
Dan's Avatar
Status: Request a custom title
Join date: Feb 2005
Location:
Expertise:
Software:
 
Posts: 3,164
iTrader: 15 / 86%
 

Dan is an unknown quantity at this point

  Old  nth-of-type problem.

I'm wanting to style every other 3 items. Is there a better solution than my hacked together code? It feels dirty.

Code:
li:nth-of-type(6n+2), li:nth-of-type(6n+1), li:nth-of-type(6n+3)