I have a strange case of trying to combine two pseudoclasses: :not
and :nth-of-type()
to get rainbow striping on non-hidden items
Having a :not([selector]):nth-of-type([rule])
, I assumed css would filter the :not
items first before applying the :nth-of-type
rule, but having them in any order gives me the same result.
Here's a jsfiddle that demonstrates this: http://jsfiddle.net/j7hjU/
Am I perhaps overlooking something when doing these?