如何通过css选择器选择打印第二或第三个thead

时间:2018-05-21 05:57:33

标签: css printing css-selectors

有没有办法在打印模式中选择基于元素的重复,如下所示:

thead:nth-of-type(1), thead:nth-of-type(2) {
  color: red;
}

在“打印预览”中,当我的tbody内容太长时,我的内容突然转到多个页面,并且thead标签重复了,现在我想将一些样式设置为第一个thead

0 个答案:

没有答案