My goal is to only select every other element in a list that has a specific class. However, I’m finding that if there are elements in the list which do not contain the class, it seems to throw the selection off. This happens regardless of whether I use :nth-child of :nth-of-type.
I think Paulie D is correct now, :nth-child/:nth-of-type is only applied to elements, not classes.
So it seems that :nth-of-type can apply to classes, but exhibits inconsistent behavior when doing so…