I have a strange case of trying to combine two pseudoclasses: :not and :nth-of-type() to get rainbow striping on non-hidden items
:not
:nth-of-type()
Having a
CSS parses right-to-left. Have you tried flip-flopping the :not and :nth-of-type?
:nth-of-type
Why do browsers match CSS selectors from right to left?