About :nth
:nth allows you to dynamically generate a class name at specified intervals on Expression Engine elements. Perhaps you have a list that is being dynamically populated from an EE weblog and you'd like to create a grid layout, but the last column items need to behave differently than the rest of the items. Simply wrap the whole mess in a pair of nth tags and set the class and interval parameters to your desired class name and interval.
In the screenshots below the "some-content" weblog has 6 entries. The designer would like these to be arranged in a 3 column grid with dashed borders on the inside edges but not the outside. Using nth, a class of "last_one" has been added to every 3rd list item.
Screenshots

border-right overridden on last element

Template code for previous screenshot
