Tutorial Applying Even/Odd Classes
Used inside a loop, class names would be named .example-class0 and .example-class1 alternating. Increasing the "2" number allows ...
https://iskablogs.blogspot.com/2014/03/tutorial-applying-evenodd-classes.html
Used inside a loop, class names would be named .example-class0 and .example-class1 alternating. Increasing the "2" number allows you to increment in thirds or fourths or whatever you need:
class="class"
Classes: class0 class1 class2 class0 class1 class2
Change number to 4, this is the result: class0 class1 class2