Snippet for adding different class to every other two items in your query.