Zebra striping a table with hidden rows using CSS3?

后端 未结 9 2306
滥情空心
滥情空心 2020-12-01 20:49

I\'ve got a table

 
&
9条回答
  •  春和景丽
    2020-12-01 21:16

    You can easily fake the zebra stripes if you apply a vertically repeating gradient on the parent table, positioned exactly to match the rows' height (the rows would have to be transparent). That way the table won't care if anything's hidden, it will repeat no matter what.

提交回复
热议问题