Combining :nth-of-type() and :not

后端 未结 3 663

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

3条回答
  •  抹茶落季
    2020-12-22 03:26

    This appears to be a duplicate of this question: Css coloring table problem

    The answer of that was essentially, no, but you could apply a class to the visible rows to make it work.

提交回复
热议问题